cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ciberr_bob
Level 5

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...?
Labels (1)
0 Kudos
(2) Replies
ciberr_bob
Level 5

Is it not possible to do a command line installation for installshield projects...???
0 Kudos
RobertDickau
Flexera Alumni

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.
0 Kudos