AppDeploy.com

 


Silent InstallSheild Uninstall

Click here to associate this thread with a Package KB article.
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [AppDeploy Forums] >> Package Development >> Silent InstallSheild Uninstall Page: [1]
Login
Message << Older Topic   Newer Topic >>
Silent InstallSheild Uninstall - 3/8/2010 6:54:44 PM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
I am trying to silently uninstall an application installed with InstallSheild.. The uninstall script that came with the application has a custom dialog box that prompts for the user's confirmation to close the application/s before uninstall continues. The only way I found to suppress this is to have a vbscript running that makes the dialog box active and sends the "Y" key to it.. This works great, but only if a user is logged in..

How can I make this silent uninstall work if no one is logged in?

For a previous silent InstallSheild uninstall I did, I was able to create an answer (.iss) file. That worked great, but I can't do that on this one (as far as I can tell) due to the fact that it has a custom dialog (see string below)...

Application Name:
SCO XVision Eclipse

Uninstall String:

[C:\WINDOWS\IsUninst.exe -f"C:\Program Files\Common Files\Vision\XVision.isu" -y -c"C:\WINDOWS\system32\UNINST.DLL"]
(taken from: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XVision)

Thank you all for any assistance that can be provided! I am stuck and need to push the new version out by 3/19...

_____________________________

Dustin Perkins
Jacobs Technology
Post #: 1
RE: Silent InstallSheild Uninstall - 3/9/2010 6:35:55 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
Have you considered running a process-terminating script?

_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to drumstin)
Post #: 2
RE: Silent InstallSheild Uninstall - 3/9/2010 6:39:57 AM   
dunnpy

 

Posts: 335
Score: 24
Joined: 2/15/2006
From: UK
Status: offline
Dustin,

If you re-run the setup executable does it give the option to uninstall from there?

If so, then you can record an InstallShield uninstall answer file that should cover what you need.

Google and search this site for InstallShield answer file recording.

Thanks,

Dunnpy

(in reply to drumstin)
Post #: 3
RE: Silent InstallSheild Uninstall - 3/9/2010 1:57:00 PM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
VBScab: Even when killing the associated processes prior to launching the uninstall, the custom dialog appears. It seems that it isn't checking for the process/s first, just asking anyway..

dunnpy: I'm afraid it does not give the option to uninstall when launching the setup executable.

Thank you both for the suggestions. Any other ideas?


_____________________________

Dustin Perkins
Jacobs Technology

(in reply to dunnpy)
Post #: 4
RE: Silent InstallSheild Uninstall - 3/9/2010 6:21:34 PM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Or, if anyone knows how we could run the uninstall in a "simulated logged in" environment using Altiris Deployment Solution (which is how we deploy here). Since the uninstall works great when someone is logged in...


_____________________________

Dustin Perkins
Jacobs Technology

(in reply to drumstin)
Post #: 5
RE: Silent InstallSheild Uninstall - 3/10/2010 5:12:04 AM  1 votes
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
In your shoes, I'd simply capture the uninstallation to an MSI and use that instead. I've never liked ISSs.


_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to drumstin)
Post #: 6
RE: Silent InstallSheild Uninstall - 3/10/2010 11:46:26 AM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Wow, so you can capture an uninstall in an MSI? I never knew that.. Wouldn't the MSI show as and installed product after the app is removed (we use Wise Package Studio)?

Thanks!


_____________________________

Dustin Perkins
Jacobs Technology

(in reply to VBScab)
Post #: 7
RE: Silent InstallSheild Uninstall - 3/10/2010 11:55:10 AM  1 votes
dunnpy

 

Posts: 335
Score: 24
Joined: 2/15/2006
From: UK
Status: offline
Dustin,

You can configure your removal MSI in Wise not to show in Add/Remove Programs.

Thanks,

Dunnpy

(in reply to drumstin)
Post #: 8
RE: Silent InstallSheild Uninstall - 3/10/2010 12:05:46 PM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Great! Sounds like the best method.. I'll go that way and stop fooling with ISS and dialogs etc...

Thanks again!


_____________________________

Dustin Perkins
Jacobs Technology

(in reply to dunnpy)
Post #: 9
RE: Silent InstallSheild Uninstall - 3/10/2010 2:19:18 PM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Wait a sec.. wont there be tons of randomly generated unique identifiers that are potentially different on each machine (relating to this app's classids and interfaces etc..) ? Since it will be looking for those found on the capture, wouldn't it potentially not find them on the other machine since the identifiers will be different?

Thanks!


_____________________________

Dustin Perkins
Jacobs Technology

(in reply to drumstin)
Post #: 10
RE: Silent InstallSheild Uninstall - 3/11/2010 6:06:51 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
I can't work out what you're driving at.

The installer already wrote all its junk and it will be the same junk for all machines: class IDs and so on don't change from machine to machine. When you capture the uninstall, you'll be capturing that junk's removal.

Does that make sense?

BTW, to prevent entry in ARP, add a public property called ARPSYSTEMCOMPONENT to your MST and give it any value.


< Message edited by VBScab -- 3/11/2010 6:10:52 AM >


_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to drumstin)
Post #: 11
RE: Silent InstallSheild Uninstall - 3/11/2010 11:39:53 AM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Okay, so the class ids are generated before the install and are already bundled in the install.. I thought there might be some random id generation during the install that might change from machine to machine.. Great news, thank you so much for the help!

_____________________________

Dustin Perkins
Jacobs Technology

(in reply to VBScab)
Post #: 12
RE: Silent InstallSheild Uninstall - 3/11/2010 11:47:24 AM   
Jamie B

 

Posts: 84
Score: 4
Joined: 12/20/2004
Status: offline
Be careful with any shared files in common areas using this method. You could rip out files and registry keys that are required by other applications.

(in reply to drumstin)
Post #: 13
RE: Silent InstallSheild Uninstall - 3/11/2010 11:54:15 AM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Thanks.. I scrutinized the capture includes/excludes pretty good. Got my uninstall ready for testing.. Just have to get past this stinking dll error having to do with not upgrading to 7 SP3 yet. Still on SP2..

_____________________________

Dustin Perkins
Jacobs Technology

(in reply to Jamie B)
Post #: 14
RE: Silent InstallSheild Uninstall - 3/11/2010 11:59:34 AM   
drumstin

 

Posts: 17
Score: 0
Joined: 3/8/2010
Status: offline
Also, running install watch and analyzing before install of legacy software and MSI removal of it to see regrot.. So hopefully it wont be an issue...

_____________________________

Dustin Perkins
Jacobs Technology

(in reply to drumstin)
Post #: 15
Page:   [1]
All Forums >> [AppDeploy Forums] >> Package Development >> Silent InstallSheild Uninstall Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.047