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
- :
- Re: Please help.. to achieve command line uninstallation
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
‎Feb 04, 2009
07:39 AM
Please help.. to achieve command line uninstallation
project : InstallscriptMsi
requirement was to support both command line installation and uninstallation.
i was able to achieve installation like shown below. please correct me if i've done something wrong.
in setup.rul file i've modified the OnFirstUIBefore() function like shown below
if(MODE != SILENTMODE) then
nResult = SdWelcome(szTitle, szMsg);
if (nResult = BACK) goto Dlg_SdWelcome;
endif;
i've done this whereever the dialogs are displayed.
now in command line i'm using the following command
C:\>start /w <.EXE Path> /s /V"INSTALLDIR=\"\" PRODUCTSERIAL=\"\" Property1=\"\" "
This property value is used to populate a text field in a custom dialog
this command successfully installs the Application.EXE. Is this the right way of doing things. if any better way please share
how can i uninstall the same application in command prompt...Can i get some help in this regard...?
requirement was to support both command line installation and uninstallation.
i was able to achieve installation like shown below. please correct me if i've done something wrong.
in setup.rul file i've modified the OnFirstUIBefore() function like shown below
if(MODE != SILENTMODE) then
nResult = SdWelcome(szTitle, szMsg);
if (nResult = BACK) goto Dlg_SdWelcome;
endif;
i've done this whereever the dialogs are displayed.
now in command line i'm using the following command
C:\>start /w <.EXE Path> /s /V"INSTALLDIR=\"
This property value is used to populate a text field in a custom dialog
this command successfully installs the Application.EXE. Is this the right way of doing things. if any better way please share
how can i uninstall the same application in command prompt...Can i get some help in this regard...?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2009
05:21 AM
Is it not possible to do a command line installation for installshield projects...???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2009
09:50 AM
The help topics "Creating Uninstallation Shortcuts for InstallScript and InstallScript MSI Projects" and "Creating Uninstallation Shortcuts for Basic MSI Projects" have information about the command lines used to uninstall different project types. Searching the help for "silent installation" gives more specifics.