Tuesday, 21 June 2011

Installing the exe from installation/Installed files in the destination computer.....uninstalling the exe using uninst.exe from the destination computer after installation.

1. Go to MSI Script in CustomAction section

2. Select Normal Installation and goto Execute Immediate.

3. Above  InstallFinalize
Put If condition and set the condition as "NOT Installed and NOT PATCH"

4. Under that select "Install MSI from InstalledFiles"

1. CustomActionName : Install_NovaPDF
2.Executable File     : novapk.exe(Browse and locate the exe name from the destination computer)
3. CommandLineArguments      : /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /NOICONS /LANG="en" /NoInstallIfExists /PrinterName="Nemo Analyze PDF Printer" /ApplicationName="Nemo Analyze" /CompanyName="Anite"

Under Properties Tab
-------------------------
In-Script Options - Deferred Execution - System Context
Processing : Synchronous, Ignores ExitCode

For Uninstallation:
-----------------
Put If condition and set the condition as "NOT Installed and NOT PATCH"
4. Under that select "Execute Program From Destination"

1. CustomActionName : Remove_NovaPDF
2.Working Directory     : WindowsFolder
3. EXE and command line     : "C:\Program Files\Softland\novaPDF 7\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

Under Properties Tab
-------------------------
In-Script Options - Deferred Execution - System Context
Processing : Synchronous, Ignores ExitCode

No comments:

Post a Comment