#173401 - 2007-01-30 07:20 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: NTDOC]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
oh my!!! you saved the day dude.... it did run fine after tweaking it a bit...but you pretty much wrote the whole code...i'm howeever wondering that it kept bringing up prompts to say yes to all and press ok at one point...how to i supress those so it goes thru automathically?? any idea.....
|
Top
|
|
|
|
#173438 - 2007-01-30 07:56 PM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
Ok fellas i'm back....everything seems to be working fine except that i'm unable to get a silent uninstall.....and ur arugment that inf silent install is possible then the converse should also hold true, is smoething i buy into.......any help before i submit it by 5pm today will be more than appreciated..........
Break Off
Dim $Msg, $Pause
If Exist('C:\Program Files\Pivotal\Relation')
$Msg = MessageBox('Please wait while Relationship is uninstalled','ESI International',4160,5)
;This command line uninstalls Relationship from user computer.
Shell 'C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" >NULL 2>NULL'
'Error: ' + @ERROR + ' - ' + @SERROR ?
'Press any key to continue /s ' ?
Get $Pause
;This command line will FORCE all applications closed without saving data within 90 seconds
$RC = Shutdown("","System is being rebooted to enable new settings.", 90, 1, 1)
Else 'The Relationship program was not found on this system ' ? EndIf
|
Top
|
|
|
|
#173450 - 2007-01-30 10:37 PM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
Les so what then will be the command interpreter cause i'm not sure i get what you saying? any help....
|
Top
|
|
|
|
#173452 - 2007-01-30 11:21 PM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: selormquarshie]
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Shell '%comspec% /c C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" >NULL 2>NULL'
The command interpreter i.e. CMD.EXE found by %comspec%
|
Top
|
|
|
|
#173454 - 2007-01-31 12:21 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: NTDOC]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
so NTDOC, i take it the '%comspec% /c line will give it that quiet uninstall mode, correct?
|
Top
|
|
|
|
#173458 - 2007-01-31 03:40 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
ok..so i worked on this SHELL line here with -r/-s but i'm not sure if it will give me a silent uninstall......i'm still at work finishing hard......any idea.....
Shell '%comspec% /c /-r/-s C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" >NULL 2>NULL'
|
Top
|
|
|
|
#173470 - 2007-01-31 05:48 PM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
hahahahahahahahahhaha
That is funny
1st thing: silent command line is different than a 'silent' switch on an install/uninstall app
2nd thing: to determine what switches you need on your uninstall, you will need to determine what version of installShield is running it
Odds are because of your newness to this, you will have the most annoying version that will require you to record a manual uninstall and then deploy that *.isu/*.iss file to play a truely silent uninstall.
|
Top
|
|
|
|
#173479 - 2007-01-31 11:53 PM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Radimus]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
Radimus, so essentially what are you saying here......i'm not sure what version of installshield i have ....however when u look at this SHELL code.....what would you use....the company is not being cooperative at all.....
Shell '%comspec% /c C:\WINDOWS\uninst.exe -s -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" >NUL 2>NUL'
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 259 anonymous users online.
|
|
|