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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2009
06:40 AM
What is your project type?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2009
06:50 PM
ChandanOmkar wrote:
What is your project type?
my project type is installscript .
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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;