I am working on custom managed bootstrapper application in wix. My installer installs .Netframework461(if needed), redist_x86 and msipackage of my application.
My new requirement is along with the above components I need to install an InstallShied exe. I could silently install the installshield exe, but uninstallation of installshield is not happening with my installer.
The code I have added in wix bundle file is given below:
<PackageGroup Id ="InstallShield">
<ExePackage Id="InstallShield" DisplayName="InstallShield" InstallCommand="/s /v/qn" UninstallCommand="/x /s /v/qn" PerMachine="yes" Vital="yes" Permanent="no" SourceFile="setup.exe" Compressed="yes"/>
</PackageGroup>
Another interestting part is that I could install and uinstall the same InstallShield exe silently using the same commands used in the code in command prompt.
Both my installer and command prompt is in run as administrator mode.
Also on more research I get to know after silent install it erases exe details so it does not get the installshield exe for uninstallation. I don't know it is right observation or not. The error shown in my log file is shown below.
I got one solution like to generate a response file for installation. The command I found is given below.
Setup.exe /s /f1"[SETUPSUPPORTDIR]\Setup.iss"
But my question is how can I silently uninstall with respect to the above response file. What is the correct uninstallcommand for this?