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
- :
- Re: how to automatic run the setup.exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Nov 09, 2009
03:55 AM
how to automatic run the setup.exe
hi :
i want automatic run the setup.exe, after i uninstalled the old version project.
how can i do that ???
i want automatic run the setup.exe, after i uninstalled the old version project.
how can i do that ???
(4) Replies
‎Nov 09, 2009
06:40 AM
What is your project type?
‎Nov 09, 2009
10:32 PM
Write the code for uninstallation of your old version in OnBegin() event. After uninstallation, OnFirstUIBefore() gets executed and the new setup will automatically launch. This worked for me.
‎Nov 10, 2009
09:44 PM
ChandanOmkar wrote:
Write the code for uninstallation of your old version in OnBegin() event. After uninstallation, OnFirstUIBefore() gets executed and the new setup will automatically launch. This worked for me.
hi :
this is my uninstall code.
function UnInstallProVerison()
STRING szSetup;
begin
szSetup = DISK1SETUPEXENAME;
LaunchAppAndWait (szSetup, "", NOWAIT) ;
end;
;;when i call this function in OnBegin() like this , popup a message :"another app is runing ....".
function OnBegin()
begin
UnInstallProVerison();
end;
;;can you show me a uninstall sample code??!! thanks;