I have an installshiled setup.exe. Created an answer file and can do silent install with -s -f1answer.iss.

Then recorded uninstall.iss file. However when i run "setup.exe -s f1uninstall.iss" i do get a window to select uninstall.

Tried re-recording uninstall.iss. Same story.

App name: genesys ccpulse 8.0

Thanks for the help.

1 Comment   [ + ] Show Comment

Comments

  • Problem Statement:
    uninstall.iss file was not working and during un-installation application was giving pop-up with uninstall options and User interaction was required to uninstall the application.
    Root Cause:
    Application generates different product code on every install in HKLM registry hive. So unistall.iss was not helpful because when we install application 2nd time it generates another product code and that previous uninstall.iss didn't work.

    Solution:
    This application create registry hive to uninstall application with product code which is different on every install. So we have written the custom action (VB script) which will read this changed product code from “SOFTWARE\Wow6432Node\GCTI\Installation Wizard\Instances\IntWorkspace\” hive for this application and then it will read uninstall string from that hive. This uninstall string will be passed as command line during un-installation of app.
    • Is it possible
      1. Share this custom VB script of yours
      2. Share this commandline of yours to uninstall this app

      Thanks

      Regards

      Paul
Please log in to comment

Community Chosen Answer

2

This link to Flexera shows some of the common switches: http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/IHelpSetup_EXECmdLine.htm

Are you re-running the original setup to uninstall? Does that work if you do it manually with prompts?

The uninstall command in the registry is likely pointing to an installed file to uninstall - can you do anything with that uninstaller?

Other switches to try are:

-uninst

-x

-s

-S

/s

/S

-VerySilent (I know, odd but I've had this one work for me)

/VerySilent

 

Also running setup.exe /? 'should' give you the supported switches.

 

Hope that helps,

Dunnpy

Answered 05/10/2013 by: dunnpy
Red Belt

Please log in to comment

Answers

1

I was facing below issue during uninstalation:

uninstall.iss file was not working and during un-installation application was giving pop-up with uninstall options and User interaction was required to uninstall the application.

Root Cause:

Application generates different product code on every install in HKLM registry hive. So unistall.iss was not helpful because when we install application 2nd time it generates another product code and that previous uninstall.iss didn't work.

Solution:

This application create registry hive to uninstall application with product code which is different on every install. So we have written the custom action (VB script) which will read this changed product code from “SOFTWARE\Wow6432Node\GCTI\Installation Wizard\Instances\IntWorkspace\” hive for this application and then it will read uninstall string from that hive. This uninstall string will be passed as command line during un-installation of app.

Additional information:

If any of the client having appsense install on their VMs this application will not install or un-install silently from system account, so to perform installation/ uninstallation we need to stop appsense services first and then we can perform this task.

Hope this will be help in future. :)

 

Answered 07/02/2014 by: Tejashri
White Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

0

I just packaged an install shield application with same scenario.It had setup.exe file in this location : C:\Program Files\InstallShield Installation Information\{E137CCD2-91AD-4072-B3AB-42DB66ECBBEB}\setup.exe.This setup.exe file was uninstalling the application.In this case as well, it was not a silent uninstall.I created uninstall.iss using this command : setup.exe -r -f1uninstall.iss......I used this switch "-r" to record all the user interface changes while uninstall(in other words to make it silent).

This created uninstall.iss for the application.Now run this with this command : setup.exe /S /f1uninstall.iss (It will run silently this time).

You may try this out.This worked for me.

Answered 05/14/2013 by: deepali
Second Degree Brown Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

This content is currently hidden from public view.
Reason: Member has been banned from the site
For more information, visit our FAQ's.

This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

0

If you cannot uninstall it silently then dont use this method. Capture it if it is not an MSI.

did you try editing the .iss file and see if you can amend something by yourself to suppress the uninstall prompt

Answered 05/10/2013 by: piyushnasa
Red Belt

Please log in to comment
0

Can you try with this

"<SomePath>\setup.exe" -s -f1"<SomePath>\uninstall.iss"

Answered 05/10/2013 by: jagadeish
Red Belt

Please log in to comment
0

Locate the registry entry under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall. YOu should be able to track down the location of another setup.exe which could have another paramaters. Use that path of setup.exe along with some parameters like uninst or something and use your newly created ISS file for uninstall. It should do the trick.

Answered 05/10/2013 by: dj_xest
Fifth Degree Black Belt

Please log in to comment
0

piyushnasa thank you for the useless comment. I was asking a very direct question. Not a workaround. 

I have tired this "<SomePath>\setup.exe" -s -f1"<SomePath>\uninstall.iss" and the string from the registry with the silent switch. Same result. It runs Installer windows silent and then comes up with "Genesys Installation Wizard" window. I still cant find a way to make it silent.

Thanks for the help.

Answered 05/10/2013 by: ogeccut
Black Belt

Please log in to comment
0

I have tried all of those switches/commands

 -remove -s -f1c:\Uninstall.iss

/s /f1c:\Uninstall.iss

 -uninst -s

 -remove -s -f1C:\Source\CCPulse-8.0\windows\uninst.iss

/s /f1C:\Source\CCPulse-8.0\windows\uninst.iss

 -uninst -s

 /removeonly

This is the registry string and when i try -s the installer window is silent, but that dialog window still comes up.

"C:\Program Files\InstallShield Installation Information\{E137CCD2-91AD-4072-B3AB-42DB66ECBBEB}\setup.exe" -runfromtemp -l0x0009 -removeonly

I will try verySilent in few min

Thank you

Answered 05/10/2013 by: ogeccut
Black Belt

Please log in to comment
0

-verysilent comes up as a wrong command. And running setup.exe /? does nothing :))

First thing i tired 
:)) 

Answered 05/10/2013 by: ogeccut
Black Belt

Please log in to comment
0

If you have response file for uninstallation then you don't have to mention "remove" or "uninst" in the command line

Just run like this

Create a fresh uninstall.iss like this

 

"<SomePath>\Setup.exe" -r -f1"<SomePath>\Uninstall.iss" -f2"%Temp%\MyPackage_Uninstall.log"

and execute the created uninstall.iss file as given below

"<SomePath>\Setup.exe" -s -f1"<SomePath>\Uninstall.iss" -f2"%Temp%\MyPackage_Uninstall.log"

 

 

Answered 05/10/2013 by: jagadeish
Red Belt

  • Please take a look at my original post. That is the command i was running.
  • hmmm.. Can you post your uninstall.iss content
Please log in to comment
0

[InstallShield Silent]

Version=v7.00

File=Response File

[File Transfer]

OverwrittenReadOnly=NoToAll

[{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-DlgOrder]

Count=0

[{4F305BE9-C598-4F08-BD6D-B934754DBC53}-DlgOrder]

Count=0

 
Answered 05/10/2013 by: ogeccut
Black Belt

  • This is incomplete
  • Thats the file that ws created with "setup.exe -r f1c:\uninstall.iss" what am i missing? I did it twice with the same result.
  • ok.. Can you post your installation iss content..
  • [InstallShield Silent]
    Version=v7.00
    File=Response File
    [File Transfer]
    OverwrittenReadOnly=NoToAll
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-DlgOrder]
    Dlg0={91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdWelcome-0
    Count=6
    Dlg1={91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdAskPath-0
    Dlg2={91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdRadioButton3-0
    Dlg3={91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdReadyToInstall-0
    Dlg4={91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-SprintfBox-0
    Dlg5={91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdFinish-0
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdWelcome-0]
    Direction=1
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdAskPath-0]
    Direction=1
    Path=C:\Program Files\GCTI\CCPulse+
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdRadioButton3-0]
    Direction=1
    Choice=1
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdReadyToInstall-0]
    Direction=1
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-SprintfBox-0]
    Result=1
    [{91A48591-4506-4F85-B50C-7ED0D2C4A0F6}-gctiGdFinish-0]
    Reboot=0
    [{4F305BE9-C598-4F08-BD6D-B934754DBC53}-DlgOrder]
    Count=0
Please log in to comment
0

Create a "uninstall.iss" from "C:\Program Files\InstallShield Installation Information\{E137CCD2-91AD-4072-B3AB-42DB66ECBBEB}\setup.exe" instead of your original setup.exe.

Then run:

"C:\Program Files\InstallShield Installation Information\{E137CCD2-91AD-4072-B3AB-42DB66ECBBEB}\setup.exe -S -f1"<random>\uninstall.iss"

Answered 05/13/2013 by: asman
Purple Belt

  • The problem is that i cant run C:\Program Files\InstallShield Installation Information\{E137CCD2-91AD-4072-B3AB-42DB66ECBBEB}\setup.exe" silent as well. Same dialog box comes up as in setup.exe. I will try it and post feedback. Thank you
    • same thing works for me it now its suppress all dialogs including Remove all features and reboot. :)
Please log in to comment
Answer this question or Comment on this question for clarity