Posted 22 January 2004 - 04:10
I have four features, they look like this:
MAZE (contains bulk of application)
-> Password (optional EXE)
-> Help Files (Self Explanatory)
-> Standard Database (Self Explanatory)
Now, Password and Help Files have shortcuts, so they're OK when I distribute this over Active Directory, because when the user clicks the associated shortcut, the feature gets installed. No problem.
However Standard Database cannot have a shortcut. This means that this feature will never be installed via Active Directory.
I know that I could rearrange these features so that Standard Database is a parent of the others, but this is not a logical layout in the custom install screen. How can I get a full install when the user clicks these shortcuts???
Posted 22 January 2004 - 05:34
Edward Tippelt writes ( http://www.etlengine...taller/hkcu.txt ):
|When an advertised access point is triggered, say an advertised shortcut is launched, Windows Installer will then check the keypaths of all components within the feature which contains that particular shortcut and all parent features of that feature. If no broken components are found no repair occurs. If a broken component is found in any feature then Windows Installer will check the keypaths of all components within ALL features of the MSI and then perform the repair.|
Maybe add a top level feature, put all other features under this feature, then add a component with a HKCU keypath to the top level feature and see if this does the trick?
Edited by Glytzhkof, 22 January 2004 - 05:34.
Posted 22 January 2004 - 20:15
Posted 23 January 2004 - 11:34
- Run MsiQueryFeatureState to find the INSTALLSTATE of the database.
- If the state is Advertised, call MsiConfigureFeature