/build/static/layout/Breadcrumb_cap_w.png

SAS 9.2 Silent uninstall

I know SAS 9.2 per definitionem doesn't support silent uninstall...

BUT we have the uninstall commandlines in the reg - everything IS... in some of the %ProgramFiles%\InstallSield Installation Information\{GUID} I found uninst.iss (still don't know how to get these working setup.exe -s -f1<iss> -f2<log> did not work, -uninst -s (-f1 -f2) didn't work)...

Did one of you already found out all the correct command lines for silent uninstall?
There are 23 InstallShield installations to uninstall in SAS :) And I'm still stuck on #1 of 23

Please provide command lines for this if you have

THX

0 Comments   [ + ] Show comments

Answers (14)

Posted by: scheche 13 years ago
Yellow Belt
3
Thera is a SAS uninstall wizzaard available for download (http://support.sas.com/kb/39/894.html)
It supports silent uninstall
Posted by: murmanda 14 years ago
Yellow Belt
1
Capture what? The uninstallations?
If you mean I should repackage SAS - Probably I will do this in the end, because of this silent uninstall shit

BUT i am forced to check the vendor install / uninstall first before I decide to repackage... customers PKG guideline
Posted by: cygan 14 years ago
Fifth Degree Brown Belt
1
As far as I know for SAS I used a wisescript executable for the install and uninstall no need for any packaging at all

this was the uninstall exe wisescript

Execute program settings

.exe path %INST%\Disk1\sas\setup.exe

Command line uninstall -s -f1"%INST%\Disk1\sas\uninst.iss" -f2"C:\windows\Unset.log"


Default directory %INST%

Window size hidden

Wait for program to exit ticked

This did the trick for me

Uninstallation in my option is the easy bit installing via sms 2003 was the tricky one for me but I added more logic to my wisescripts exe during the installation of sas
Posted by: murmanda 14 years ago
Yellow Belt
1
SAS Software Depot Win Servers\
hotfix\
install_doc\
media_data\
order_data\
product_data\
products\
sid_files\
third_party\
utilities\
autorun.inf
basicins.rexx
cd.id
depotsummary.html
saslogo.ico
sassd.lck
sassd.txt
setup.dat
setup.exe
setup.rexx
setup.sh
setup_vms.com
setup_vms.exe

silent install on win2003:
setup.exe -quiet -wait -responsefile "<recorded.properties>" (for each license a new properties file [containing different applications] - so i have this command line three times - 23 applications, counted in C:\Program Files\InstallShield Installation Information)

there is no uninst.iss (in the sources)
Posted by: anonymous_9363 14 years ago
Red Belt
1
there is no uninst.iss (in the sources)As you can see from the post above yours, the .ISS gets deposited where YOU direct it to be deposited, using the '-F1' switch.
Posted by: anonymous_9363 14 years ago
Red Belt
1
The OP in that thread was complaining of the same thing - no silence.
Posted by: murmanda 14 years ago
Yellow Belt
1
there is no uninst.iss (in the sources)As you can see from the post above yours, the .ISS gets deposited where YOU direct it to be deposited, using the '-F1' switch.


OK, let's say I just could not find this uninst.iss... Or i'm to dumb to record one...

Following this...

Command line uninstall -s -f1"%INST%\Disk1\sas\uninst.iss" -f2"C:\windows\Unset.log"

... my setup.exe (SAS Deployment Wizard 9.2) gives me Critical OKOnly MsgBox with "The following command line arguments are not valid: uninstall"

Guys, are you sure we are speaking of the same application? Or the same application sources?

Probably 9.1 had such a cmd line like you describe, see wpkg

but for me / my 9.2 all this stuff does not work,

I still have to uninstall every single sub-application (23!).. and the command lines aren't working silent

Never had SAS before, so I can not tell you what the differences are here..
Posted by: akhlaque 14 years ago
Orange Senior Belt
1
I remember working on this weird package it was a real pain in uninstalling this app.
More over it has multiple ARP entries some of them can be removed silently via commandline or an answer file but some of them cant be removed silently and I automated the uninstall with something like sendkeys or control click(AutoIT script).
Commandlines which I found are as follows:

1. For SAS VJR: "C:\Program Files\Java\jre1.5.0_12\bin\javaw.exe" -jar "C:\Program Files\SAS\uninst\sas.tools.vjrremove.jar" -force

2.For online doc an ISS file can be created and this command can be used: RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{1D7BEDED-455C-4029-85EC-433D4C5EAAE1}\Setup.exe" -l0x9 AnyText -remove -s -f1"<Path to OnlineDoc iss file>\OnlineDoc.iss"

3. SASXMLMapper: "C:\Program Files\SAS\SASXMLMapper\9.2\_uninstXMLM\UninstXMLM.exe" -silent

4. As far as I know there are no silent switches for other components and you need to either create an Answer file or automate the uninstall.

please let me know if you have any questions.


________________________________
Akhlaque
Posted by: halo7 13 years ago
Yellow Belt
1
Hi all.

I took the uninst.iss file from my install dir and it worked!!!!

For (just about) all the SAS software to uninstall silently, use:

"C:\Program Files\InstallShield Installation Information\{F9390B82-786C-43CF-A970-D39E23EF0366}\setup.exe" /removeonly uninstall /s /f1"[PATH]\uninst.iss"

The uninst.iss file you want is likely in this path: ...SASWIN 9.2\depot\products\sasinstall__92210__win__en__sp0__1\sas

Good luck all!

I'll paste my file below:

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[Application]
Name=The SAS System
Version=9.2
Company=SAS Institute Inc.
Lang=0009
[{F9390B82-786C-43CF-A970-D39E23EF0366}-DlgOrder]
Dlg0={F9390B82-786C-43CF-A970-D39E23EF0366}-SprintfBox-0
Count=2
Dlg1={F9390B82-786C-43CF-A970-D39E23EF0366}-MessageBox-0
[{F9390B82-786C-43CF-A970-D39E23EF0366}-SprintfBox-0]
Result=6
[{F9390B82-786C-43CF-A970-D39E23EF0366}-MessageBox-0]
Result=1
[{F9390B82-786C-43CF-A970-D39E23EF0366}-DlgOrder]
Dlg0={F9390B82-786C-43CF-A970-D39E23EF0366}-QuietMode
Count=1
[{F9390B82-786C-43CF-A970-D39E23EF0366}-QuietMode]
Result=1
Posted by: timbo46 13 years ago
Yellow Belt
1
Scheche - give yourself a gold star - you deserve a banker-sized bonus!! This utility will save me a couple of days work implementing MR3 - many, many thanks for pointing it out
Posted by: Suresh.Sunkari 13 years ago
Yellow Belt
1
The utility provided by SAS would not uninstall EG 4.3 and the Add-in. Surprisingly it would not remove Registry Entires and Files of Folders under SASHOME directory. The solution mentioned above are good for a single machine uninstall. I am surprised to see Enterprise Guide 4.3 and Add-in has a different GUID every time you run the bootstrapper. In this case the Silent uninstall would go for a toss when we deploy it to bulk computers.
Posted by: Suresh.Sunkari 13 years ago
Yellow Belt
1
As i mentioned in my earlier post that the SUW(Sas uninstallation Wizard would not uninstall these products)

Products Not Removed by the SAS Uninstall Wizard
The SAS Uninstall Wizard does not remove the following products:

◦SAS® Add-In for Microsoft Office on Windows x64
◦SAS® Enterprise Guide 4.3

The solution is:

First, I want you to make a copy of your mappings.dat file, so there is a backup of it.
Once you have a copy of it, then edit the original mappings.dat file, this can be done with Notepad.

Mappings.dat file is a component of teh Uninstall wizard and could be loacted in SUW folder (eg:C:\SUW\mappings.dat)

After this entry:
eguide|4.3|Enterprise Guide\4.3|win|uninst_eguide_4.3.iss

on a new line, add a like entry but with 4.305, like this:
eguide|4.305|Enterprise Guide\4.3|win|uninst_eguide_4.3.iss

Do the same for the SAS Add-in. Locate this:
msofficeint|4.3|AddIn for Microsoft Office\4.3|win|uninst_msofficeint_4.3.iss

then on a new line below it, add this:
msofficeint|4.305|AddIn for Microsoft Office\4.3|win|uninst_msofficeint_4.3.iss

Save the mappings.dat file.
(I put examples below of what the eg and amo sections should now look like.)

Run your uninstall again.

=================
the eguide section should now look like this:
=================

eguide|4.2|Enterprise Guide\4.2|win|uninst_eguide_4.2.iss
eguide|4.21|Enterprise Guide\4.2|win|uninst_eguide_4.2.iss
eguide|4.22|Enterprise Guide\4.2|win|uninst_eguide_4.2.iss
eguide|4.3|Enterprise Guide\4.3|win|uninst_eguide_4.3.iss
eguide|4.305|Enterprise Guide\4.3|win|uninst_eguide_4.3.iss

the amo section should now look like this:
msofficeint|4.2|AddIn for Microsoft Office\4.2|win|uninst_msofficeint_4.2.iss
msofficeint|4.21|AddIn for Microsoft Office\4.2|win|uninst_msofficeint_4.2.iss
msofficeint|4.22|AddIn for Microsoft Office\4.2|win|uninst_msofficeint_4.2.iss
msofficeint|4.3|AddIn for Microsoft Office\4.3|win|uninst_msofficeint_4.3.iss
msofficeint|4.305|AddIn for Microsoft Office\4.3|win|uninst_msofficeint_4.3.iss

Let me know if this works or if it is still of no joy!!

Suresh Sunkari
Posted by: anonymous_9363 14 years ago
Red Belt
-1
Capture it. There's nothing magical in there that I can recall. I'd recommend using an external CAB or external uncompressed files, though: ours is a whikser under 400Mb...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ