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
- :
- Error when removing a Suite installation
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
‎Aug 18, 2017
12:05 PM
Error when removing a Suite installation
I'm currently developing a Suite Package that attempts to install several msi's wrapped in exe's.
For each package I've defined a detection condition that consists of the msi package code and added command line arguments for install and removal that look like:
/s /v"/qn"
and
/s /x /v"qn"
It's working fine apart from when I install a package independently of the suite package.
If I install a package before running the Suite and then run the Suite I get the option to Modify/Repair/Remove. Modifying the Suite doesn't put down the package as it satisfies the detection condition but when I attempt to Remove the Suite, I get the error:
The installation of [PackageName] appears to have failed. Do you want to continue the installation?
I think I've encountered this error, after installing a Suite package, when I defined a detection condition that still wasn't satisfied after installation.
Does anyone know where I might be going wrong or is this a limitation?
Should I be changing the detection condition of my packages or not making them Primary packages?
Thankyou for any help anyone can give my on this,
James
For each package I've defined a detection condition that consists of the msi package code and added command line arguments for install and removal that look like:
/s /v"/qn"
and
/s /x /v"qn"
It's working fine apart from when I install a package independently of the suite package.
If I install a package before running the Suite and then run the Suite I get the option to Modify/Repair/Remove. Modifying the Suite doesn't put down the package as it satisfies the detection condition but when I attempt to Remove the Suite, I get the error:
The installation of [PackageName] appears to have failed. Do you want to continue the installation?
I think I've encountered this error, after installing a Suite package, when I defined a detection condition that still wasn't satisfied after installation.
Does anyone know where I might be going wrong or is this a limitation?
Should I be changing the detection condition of my packages or not making them Primary packages?
Thankyou for any help anyone can give my on this,
James
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 18, 2017
04:18 PM
My Suite allows the user to install manually outside the suite. Please verify that you have 'Repair' and 'Modify' set to 'No' for each package.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2017
09:33 AM
Thanks for your response rguggisberg,
I removed the options to Modify and Repair from my Suite Packages and tried again installing a package out of the Suite. When I then Remove the package through the Suite installer I still get the error:
The installation [PackageName] appears to have failed.
I'm currently doing my testing with just one package that doesn't need updating so maybe it will resolve itself when I start testing with more packages, which, may or may not be newer versions than those already installed.
I removed the options to Modify and Repair from my Suite Packages and tried again installing a package out of the Suite. When I then Remove the package through the Suite installer I still get the error:
The installation [PackageName] appears to have failed.
I'm currently doing my testing with just one package that doesn't need updating so maybe it will resolve itself when I start testing with more packages, which, may or may not be newer versions than those already installed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2017
09:56 AM
If you run a suite, the setup.exe checks the detections for all primary packages. If it finds one it goes to maintenance mode.
I think you have two options, define these packages a "dependency" or modify the detection mode.
regards
Markus
I think you have two options, define these packages a "dependency" or modify the detection mode.
regards
Markus
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2017
04:12 PM
JamesPritchard wrote:
Thanks for your response rguggisberg,
I removed the options to Modify and Repair from my Suite Packages and tried again installing a package out of the Suite. When I then Remove the package through the Suite installer I still get the error:
The installation [PackageName] appears to have failed.
I'm currently doing my testing with just one package that doesn't need updating so maybe it will resolve itself when I start testing with more packages, which, may or may not be newer versions than those already installed.
You may have another problem. What do you have for:
Remove - Target\and
Remove - EXE Command Line
?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2017
04:25 AM
Hi rguggisberg,
For the Removal of the package I've simply defined the target as the package executable [PackageName].exe
and set the Command line as
/s /x /v"qn"
James
For the Removal of the package I've simply defined the target as the package executable [PackageName].exe
and set the Command line as
/s /x /v"qn"
James
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 22, 2017
09:30 AM
Use this for command line
-uninst /S /vqn
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 23, 2017
05:37 AM
Thanks for the suggestion rguggisberg,
I tried what you said and tested installing and removing through the Suite installer. With the command line you gave me
I think I will look at making only our main package a Primary package and set the option in the Suite project to not add an entry in the Add/Remove programs. This will hopefully limit the possibility of users getting errors when they remove our software.
Thanks,
James
I tried what you said and tested installing and removing through the Suite installer. With the command line you gave me
-uninst /S /vqnalong with other variations. I also tried
/s /uninstall /v"/qn". All of these failed to remove my product. The only command line that works for me to remove the package in the Suite was my original commands:
/s /x /v"/qn"
I think I will look at making only our main package a Primary package and set the option in the Suite project to not add an entry in the Add/Remove programs. This will hopefully limit the possibility of users getting errors when they remove our software.
Thanks,
James
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)