Basic MSI IS 11.0
How to invoke an Custom action only at the time of Installation?
The custom action (ChangeMyInstallDIR) is schedule aftercostfinalize in InstallExecute sequence and called by DoAction from OK pushbuttom of InstallChangeDirectory dialog.
It is seen my custom action action is also geting invoked at the time of Uninstalling the software.
How to stop it by giving some condition?
Thanks
Sanjoy
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How To Invoke Custom Action Only When Installing
Started by
sanjoygr
, Apr 03 2006 10:30
3 replies to this topic
Posted 03 April 2006 - 11:55
You can use:
Not Installed
to detect a first time installation, or
REMOVE~<>ALL
to execute the action always except during uninstall (e.g. install, modify, repair, minor update)
You may also want to make yourself familiar with the MSI documentation, the FAQ at www.msifaq.com , read some book(s) about Windows Installer, and/or attend a training course.
Not Installed
to detect a first time installation, or
REMOVE~<>ALL
to execute the action always except during uninstall (e.g. install, modify, repair, minor update)
You may also want to make yourself familiar with the MSI documentation, the FAQ at www.msifaq.com , read some book(s) about Windows Installer, and/or attend a training course.
Stefan Krüger
InstallSite.org twitter facebook
Posted 03 April 2006 - 14:59
Thanks for your advice. I am checking with the web address for FAQ.
I would request you to recommend some name of good books for Basic MSI and
InstallScript projects.
I would surely update myself as per your advice.
Thanks
Sanjoy
I would request you to recommend some name of good books for Basic MSI and
InstallScript projects.
I would surely update myself as per your advice.
Thanks
Sanjoy
Posted 03 April 2006 - 18:36
For a list of books see http://www.installsi...n/msi/books.htm
I would recommend Phil Wilson's book as starting point. You could also look at Mike Gunderloy's book. It's a bit outdated but a free download.
I would recommend Phil Wilson's book as starting point. You could also look at Mike Gunderloy's book. It's a bit outdated but a free download.
Stefan Krüger
InstallSite.org twitter facebook