/build/static/layout/Breadcrumb_cap_w.png

Condition a component to run on REPAIR

Sceanrio

I have an application that creates a file on the fly at the end of its install
User who installed it is okay and athe file is created

Next user logs on
we have no Advertised shortcuts and use msiexec /fup{prodcut code} to repair the app for the next user who logs on via a vbscript initiate via the icon

I created a component that copies a default version of this file to the user Appdata area and want it to run on REPAIR/REinstall only for any subsequent users

the component install fails and is listed as below in the log file and does not get reinstalled

MSI (s) (84:F0): Component: MYCOMPONENT; Installed: Local; Request: Local; Action: Null

If i run the the command msiexe /fup from the commandline it works fine - (odd as vbscript contains same syntax)

MSI (s) (E8:24): Component: MYCOMPONENT; Installed: Local; Request: Local; Action: Local

in both cases its parent featue is listed as

MSI (s) (E8:24): Feature: PARENT_FEATURE; Installed: Local; Request: Reinstall; Action: Reinstall

how do I condition the component so that the Action becomes Action:local

I have trasitive bit set, neveroverwrite and permanent

Any help appreciated

0 Comments   [ + ] Show comments

Answers (2)

Posted by: Ilikebananas 19 years ago
Purple Belt
0
I would probably create a (dummy) key somewhere in HKCU, and set it as keypath. What is the keypath for the component?
Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
Ilikebananas made a good point - a "user" component must have an HKCU registry keypath (not a file or folder).

See my earlier post:

http://www.appdeploy.com/messageboards/fb.asp?m=8116
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