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
- :
- Install & Uninstall
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
‎Jun 14, 2010
01:20 PM
Install & Uninstall
Hi
Do we have any Built in Install And Uninstall functions (Like OnBegin & OnEnd )?
When I am using OnBegin Function ,it is called at the time of installation and UnInstillation.
Can anybody provide an example?
List of built in functions in IS 2010?
Do we have any Built in Install And Uninstall functions (Like OnBegin & OnEnd )?
When I am using OnBegin Function ,it is called at the time of installation and UnInstillation.
Can anybody provide an example?
List of built in functions in IS 2010?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2010
04:24 PM
In InstallScript, the MAINTENANCE variable is FALSE for a first-time installation, and TRUE for maintenance mode or uninstallation. Therefore, you can use an if statement like the following for any code you want to run only for a first-time installation.
You can use that sort of code in event-driven InstallScript code of InstallScript and InstallScript MSI projects.
I hope that helps.
if (!MAINTENANCE) then
// code to run for first-time installation
endif;
You can use that sort of code in event-driven InstallScript code of InstallScript and InstallScript MSI projects.
I hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
05:58 AM
this is helpful.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
06:43 AM
Why don't you use
OnFirstUIBefore
OnMaintUIBefore
OnFirstUIAfter
OnMaintUIAfter
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)