i have a exe which will be uninstalled only upon passing a commandline argument "uninstall". i would like to create a response file for uninstalling this exe by passing the argument and do my uninstallation silently. Is it possible?
I have created a Installscript Project and Install it silently, when i install it as silent then remove and change button are disable in control panel. can you let me know how can be enable these button . no matter weather it is silent uninstallation or simple uninstallation.
thanks
Related
I want to uninstall a software which is installed using EXE not MIS. By running the uninstall Strin in CMD i can able to uninstall but its asking conformation messages.
My intention is to uninstall it silently
"C:\Program Files (x86)\InstallShield Installation Information\{2EA86967-B3D3-4B2E-9DE9-28A595AF2E2E}\setup.exe" -runfromtemp -l0x0409 -removeonly
I tried this command but its asking so many conformation messages for uninstall. Is there any attribute I can add here so that it will uninstall in background
Try executing the setup with silent execution parameter as mentioned in the below article:
silent command line parameter: Setup.exe /s /v/qn
https://docs.flexera.com/installshield19helplib/helplibrary/IHelpSetup_EXECmdLine.htm
I am doing an upgrade for the existing exe file using installshield. when installing the update , in files in use dialog I select the option to automatically close and restart the application instead of the other option to reboot the system.
But I get an extra window which tells me to restart the system again after installation is complete. How to disable this window? Please help :)
You can try to run the installation silently with REBOOT=ReallySuppress (update the paths). Please note that I haven't had the chance to test all these command lines:
msiexec.exe /I "C:\IsWiX.msi" /QN /L*V "C:\msilog.log" REBOOT=ReallySuppress
/I is for install
/QN is silent mode
/L* is verbose logging
If you have an EXE file instead of an MSI file I would extract the MSI to an administrative image (file extract from setup.exe basically) using the following command:
setup.exe /a
Then specify an extract location for the files in the EXE file. You can also run it directly with the Installshield command lines for EXE files. Something like:
Setup.exe /v"REBOOT=ReallySuppress /qn"
Or silently with logging:
Setup.exe /v"/l*v c:\test.log REBOOT=ReallySuppress /qn"
There are also some simplified command line macros from Microsoft. Most of the time these can be used. Other times you need the full command line interface.
I develop/maintain an installer built with InstallShield that supports multiple instances. Due to various reasons we always recommend those who run our installer to use the /Instance switch that InstallShield's setup.exe bootstrapper has. Is it possible to get InstallShield to require that the /Instance switch is used? Or is there anyway to check if the setup.exe has been run without the /Instance switch?
If this is an Install Script installer, you can check the value of the command line parameter when the installer first starts. If the value of the command line parameter is not what you want, you can display a messagebox to the user and exit.
szCommandLine = CMDLINE;
if (szMasterCommandLine == "/instance") then
MessageBox("Hello! This installer is running in instance mode.", INFORMATION);
else
MessageBox("You must run this installer with the /instance command line parameter.", INFORMATION);
abort;
endif;
I have an InstallScript function that runs fine when running during the install that I need to run during an uninstall. It is backing up the existing applications. I created a Custom Action for it and added it to the Execute Sequence after InstallValidate.
There is no log file generated, as far as I can tell for uninstalls, so I am having trouble figuring out why it fails with a "Feature Transfer Error" -1603.
I am pretty sure the function is not being called as I put a MessageBox as the first thing.
You should set the Install UI Condition or Install Exec Condition to
(REMOVE="ALL")OR(REMOVE="<feature_being_uninstalled>")
just in case you have or will in the future have multiple features being installed. (Unless of course, you only want to run the Custom Action in the case where the whole product is being uninstalled)
To run a custom action during uninstall, set its condition to REMOVE="ALL" in Install UI Condition or Install Exec Condition, which ever is applicable in your case.
To run a custom action when a product is already installed, the condition should be set to Installed.
To run a custom action when a product is not installed, the condition should be set to Not Installed.
I believe you can use the following msiexec command to log the uninstall:
msiexec /x YourProduct.msi /L*v logfile.txt
or
msiexec /x {Your Product/Package Code} /L*v logfile.txt
I have a third party application I would like to silent install from the command line.
The application is PPLive available at: http://www.pptv.com/en/
It is an NSIS installer, and currently when silently installed, installs toolbars, and additional pieces of software, launches on completion etc.
Without repackaging it, how do I control the checkbox options on the pages of the normal installer from the silent command line install.
Is it even possible?
NSIS supports the silent install option with the /S command line script, however, it only sets a flag that the install script can check:using IfSilent.
There is an example script here that demonstrated a silent installation.
You can't control the components unless the installer has been coded specifically for it (By using a "answer" file/.ini or some parameter you pass on the commandline) NSIS itself only allows the author of the installer to know if it is in silent mode or not, the rest is up to them. You would have to ask the PPLive people about it (Or request that they add it if they don't support it already)