Hi,
but when I do uninstall for the created setup it dose not uninstall winrar it just remove the license
Indeed, by default the prerequisites are not uninstalled when the package that contains them is uninstalled, because they are actually different packages (prerequisite + main package).
However, you can remove the "WinRAR" folder (but its information will remain in Add/Remove Programs from Control Panel) by going in the "Operations" tab of the "WinRAR" folder's properties dialog and select the "Remove folder" option as in the example:
- Operation: Always remove folder (even if it is not empty)
Component: <any component that is uninstalled>
Remove On: Component uninstall
Also, if your prerequisite is added in the "Feature-based" folder of the Prerequisites page, you can go in the "Setup Files" tab and set "Maintenance Command Lines" for it (i.e. in the "Uninstall using this command line" field add a command that uninstalls the "WinRAR" application)
also how can i create silent install
To achieve this you can follow the steps below:
- go in the Install Parameters page and check the "Run as administrator" option
- go to "Setup Files" tab of the prerequisite and add the silent command (i.e. /s) in the "Install Command Lines" fields
- go in the Media page and add the silent command (i.e. /qn) in the "MSI Command Line" field
In this case the prerequisite and the MSI package contained by the EXE Bootstrapper will be installed in silent mode. However, the EXE Bootstrapper can be installed in silent mode only from an elevated console if it is run with the
"/exenoui" command.
for advanced installer i have chosen limit to basic user interface and did not work, i am still getting the window with "Next".
The dialog with the "Next" button that appears is the "Prerequisites Welcome" dialog and it appears because you added "WinRAR" as a "pre-install" prerequisite, which is installed before the main package. The "Limit to basic user interface" option applies only to the main package.
should i put in the field Silent (No UI) : winrar-x64-500.exe /qn
As I mentioned above, in the "Silent (No UI) field you can only put the command that installs the "WinRAR" application in silent mode (i.e.
/s).
Let us know if this worked.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging