/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: gmorgan618 17 years ago
Blue Belt
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
Posted by: kjk3407 17 years ago
Orange Belt
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.
Posted by: AngelD 17 years ago
Red Belt
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.
Posted by: kjk3407 17 years ago
Orange Belt
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?
Posted by: AngelD 17 years ago
Red Belt
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).
Posted by: vjay 10 years ago
Second Degree Blue Belt
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.

Posted by: vjay 10 years ago
Second Degree Blue Belt
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.

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ