cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wolfjg
Level 2

i want know about uninstall after auto install function

setupfactory is provide this function.

but i cant fing this function at installShield.

how can i use this function?

 

i was tryed script but it does abnormal.

 

function OnShowUI() 

......

if (bMaintenanceMode) then

OnFirstUIBefor();

FeatureReinstall();

OnMovedata();

OnFirstUiAfter();

......

 

Labels (1)
0 Kudos
(3) Replies
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @wolfjg,

Thank you for your post.

Could you please clarify your request? Which specific function are you trying to use? In an InstallScript project or an InstallScript MSI project? Which project type are you using? Could you please elaborate in more detail about what you mean when you say you cannot find the InstallScript function? What is the expected behavior? What is the actual behavior?

Please let us know if you have any questions or concerns. Thanks!

0 Kudos

i am using installscript project. package name is setup.exe

first time i am excute setup.exe and install sucess.

next time i was make new version setup.exe.

when i excute setup.exe it's running uninstall automatically, and termination setup.exe program.

i don't want to quit setup.exe program.

i need Uninstall and then reinstall without quitting.

how can i activate this function? 

0 Kudos
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @wolfjg,

Thank you for your reply.

I believe you are referring to a major upgrade with an InstallScript project. A major upgrade automatically uninstalls the previous version then installs the newer version.

Please review the documentation at the following link for information on how to configure a major upgrade with an InstallScript project:

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Performing-a-Major-Upgrade-with-Installscript/ta-p/4388

Please give the suggestions in this documentation a try. Do they work for you?

Please let us know if you have any questions or concerns. Thanks!

0 Kudos