running custom action at install

  • Thread starter Thread starter Glenn M
  • Start date Start date
G

Glenn M

i have a custom action in my msi that runs a batch file from the
binary table. When i uninstall i get an error saying that an action
has not completed properly. When i comment out the custom action it
uninstalls fine.

How can i make this action run only during the install , and how can i
makle a differnet action run just when i uninstall

glenn
 
Put a condition on it of Not Installed . That means it will run only if the
product is not already installed. To have one run during the uninstall, a
condition of REMOVE="ALL" should work. These are all case-sensitive. What
tool are you using?
 
Put a condition on it of Not Installed . That means it will run only if the
product is not already installed. To have one run during the uninstall, a
condition of REMOVE="ALL" should work. These are all case-sensitive. What
tool are you using?
 
Trying to resend, I'm not making it past the spam blockers:

Put a condition on it of Not Installed . That means it will run only if the
product is not already installed. To have one run during the uninstall, a
condition of REMOVE="ALL" should work. These are all case-sensitive. What
tool are you using?
 
To run the Custom Action only at install you will need to set a
condition on the action in the InstallExecuteSequence table to (NOT
Installed).
Usually you want the actions to run at repair as well. You can you one
of the following conditions for this (NOT Installed OR REINSTALL) - or
- (NOT REMOVE)

To run an action only at uninstall use one of the following conditions
(REMOVE=ALL) - or - (Installed AND NOT REINSTALL)

Hope this helps.
 
Back
Top