This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- log actions causing msi installshield 2008 to reinstall"self repair"
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2011
09:08 AM
log actions causing msi installshield 2008 to reinstall"self repair"
How to log only the changes causing a MSI file made by installshield 2008 to reinstall the msi"self repair"? and also how to disable self repairing of msi using installshield 2008?
and whats the reason behind self_repair?
Please help,
Thanks a lot in advance,
and whats the reason behind self_repair?
Please help,
Thanks a lot in advance,
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2011
08:14 PM
any of the logging commands work whenever they are called, so your best bet is to write a wrapper function that tests the value of the "REINSTALL" property before deciding whether to call SprintfMsiLog function. that, of course, only applies to your own calls to that or related functions. you cannot suppress msi logging entirely. why do you want to do this?
you can disable the repair button in Add/Remove programs by choosing that option under "general settings/Add Remove Programs" in the IDE. this only disables the button in ARP, however. in order to fully disable it, you'll need to write an error-type custom action that will make your installation bail out if "REINSTALL" is set. schedule it near the top of both your UI, and Exe sequences. this will prevent the user from calling "msiexec /i{product id} REINSTALL=ALL" from the command line.
the purpose of the reainstall (repair) feature is so that msi logic can check each target file against each files installed and make sure it exists and is up-to-date. if not, it reinstalls that component. this is extremely useful., and i'd recommend making friends with the feature rather than blocking it entirely.
you can disable the repair button in Add/Remove programs by choosing that option under "general settings/Add Remove Programs" in the IDE. this only disables the button in ARP, however. in order to fully disable it, you'll need to write an error-type custom action that will make your installation bail out if "REINSTALL" is set. schedule it near the top of both your UI, and Exe sequences. this will prevent the user from calling "msiexec /i{product id} REINSTALL=ALL" from the command line.
the purpose of the reainstall (repair) feature is so that msi logic can check each target file against each files installed and make sure it exists and is up-to-date. if not, it reinstalls that component. this is extremely useful., and i'd recommend making friends with the feature rather than blocking it entirely.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2011
12:06 AM
Good advice Kelter, it helped me with my phoenix seo software. Thanks!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)