Hello everyone, I am in need of some assistance.
I need an application to have a registry entry under HKLM\software\companyname\appname if I delete the registry key when the user runs the shortcut the MSI should run an auto repair. But it doesn't because I don't have an advertised shortcut. The reason I don't have an advertised shortcut is because we want the package to install when pushing the software, not upon first use of the software. Is there anyway we can get the deleteing of the registry key to self repair a non advertised shortcut?

Thanks in advance.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
0
I think you are a little confused.

An advertise shortcut is different then advertising an application.

Advertised shortcuts when activated, allows you to set up checks (called key files(but they can also be registry keys))... when the shortcut is kicked off, it validates those checks if any are missing it fixes them by running the msi again.

The installation will still install all of the information from the MSI, this is also called "Self-Healing"

Hope this helps,

-Grant
Answered 02/01/2007 by: gmorgan618
Blue Belt

Please log in to comment
0
Thanks for your help.

But I did setup a key file for HKLM\software\companyname\appname and moved it into its own componet, but it doesn't self heal after being deleted. I assumed it didn't self heal because my application does not have an advertised shortcut or any entry points.
Answered 02/01/2007 by: kjk3407
Orange Belt

Please log in to comment
0
An entry point must exist and be called to trigger the self-healing mechanism.
Advertised shortcuts is an example for an entry point.
If you use a regular shortcut then the target (.EXE) the shortcut launches must call an entry point for the repair to occur. So if the exe is using COM components and those are registered using the advertise related tables such as progid, class or typelib then the repair will occur when running regular shortcut.

I would use advertised shortcuts and then have a top feature holding the user resources such as user profile and HKCU registry minimizing the time for the msi to repair these.
Answered 02/01/2007 by: AngelD
Red Belt

Please log in to comment
0
Thanks that clears it up.[:)]

Now I have another question for you, if I have an advertisted shortcut in my program, does the program get installed during installation or does it require the user to run the shortcut first?
Answered 02/01/2007 by: kjk3407
Orange Belt

Please log in to comment
0
Any "machine" resources will get installed if you install the package, if you advertise the package like gmorgan618 stated only the entry points will get installed which will trigger the self-heal to fully install the application when the user call any of these (ex launching the shortcut).
Answered 02/01/2007 by: AngelD
Red Belt

Please log in to comment
0

in my MSI having advertise class, progid and typelib enteis. i want supress repair the msi. as client standards captured msi should have only one feature. is there any chanse to supress the repair.

Answered 11/25/2013 by: vjay
Second Degree Blue Belt

Please log in to comment
0

if you are using wise capture studio, before start capture make "advertising setting (windows installer)" =Retain registry informatio as-is. then all advertised registry enties will come as normal registies.

Answered 12/02/2013 by: vjay
Second Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity