Advertised shortcut
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.
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
Answers (7)
Please log in to answer
Posted by:
gmorgan618
17 years ago
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
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
Posted by:
kjk3407
17 years ago
Posted by:
AngelD
17 years ago
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.
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.
Posted by:
kjk3407
17 years ago
Posted by:
AngelD
17 years ago
Posted by:
vjay
10 years ago
Posted by:
vjay
10 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.