Page 3 of 5 <12345>
Topic Options
#173400 - 2007-01-30 07:08 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: NTDOC]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
The actual uninstall should be found somewhere here in the Registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

.

Top
#173401 - 2007-01-30 07:20 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: NTDOC]
selormquarshie Offline
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
#173402 - 2007-01-30 07:22 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: selormquarshie]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Unless the Pivotal company provides those "silent" switches for you then it's not going to be able to be removed silently.

At that point you would have to write you own removal script that deleted everything.

Top
#173403 - 2007-01-30 07:27 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: NTDOC]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
You could try SENDKEYS but I'm sure that would meet with mixed results.

There is also a program called AUTOIT that might be able to help assist in pressing the right keys for you in an automated script. Search Google for it.

Top
#173412 - 2007-01-30 03:07 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: NTDOC]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
It looks like the software is using InstallShield which does support recording your own silent install. I would think if you can create a silent install, a siltent uninstall should be possible. OTOH, there may already be a silent switch available.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#173438 - 2007-01-30 07:56 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: Les]
selormquarshie Offline
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
#173447 - 2007-01-30 09:38 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: selormquarshie]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Well certainly not the code I gave you but if it works for you okay.

Please contact the Pivot support group and ask them for the uninstall silent switch.

Top
#173449 - 2007-01-30 10:26 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: NTDOC]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
and as I said before, you cannot redirect without the command interpreter.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#173450 - 2007-01-30 10:37 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: Les]
selormquarshie Offline
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 Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Code:
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 Offline
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
#173455 - 2007-01-31 12:35 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: selormquarshie]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
%comspec% is the environment variable pointing to the command interpreter
/c is a switch indicating the command interpreter has to quit after running the command
You need it to make the redirect work (> NUL 2>NUL)
I think if you want a silent uninstall, maybe you will have to look for a switch for uninst.exe

Top
#173456 - 2007-01-31 01:33 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: selormquarshie]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Originally Posted By: selormquarshie
so NTDOC, i take it the '%comspec% /c line will give it that quiet uninstall mode, correct?


No it will not be silent with that. It is only to redirect output to nothing, however the uninstaller will probably still popup a Window to complain as it's not console/DOS based.

You really have to either contact PIVOT and ask them for the switch or scour the Internet with Google or some other search engine to find a possible solution.

Top
#173457 - 2007-01-31 01:39 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: NTDOC]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
A DOS redirect to NUL of a GUI program will not magically make it silent.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#173458 - 2007-01-31 03:40 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: Les]
selormquarshie Offline
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
#173460 - 2007-01-31 05:32 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: selormquarshie]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
This will not give you a silent uninstall. You need to contact the vendor to find out what the correct call to their uninstall routine is to perform the silent uninstall. Just reidrecting console output to NULL doesn't affect the uninstall process.
_________________________
There are two types of vessels, submarines and targets.

Top
#173463 - 2007-01-31 06:36 AM Re: ANY SAVIOUR I N HERE TODAY?? [Re: selormquarshie]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I have the impression you want to try -s or -r as silencers. Put it as argument behind uninst.exe

Shell '%comspec% /c C:\WINDOWS\uninst.exe -s -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" >NUL 2>NUL'

No warranty it will work. Like Doc said, I think you best verify with the software vendors.

Oh yes
> NUL
redirects to "nothing"
> NULL
redirects to a file named NULL


Edited by Witto (2007-01-31 09:07 AM)

Top
#173467 - 2007-01-31 04:32 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: Witto]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I thought the -r switch was to record an answer file to be played back later. IMHO -r is not something you would use in a SHELL line.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#173470 - 2007-01-31 05:48 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: Les]
Radimus Moderator Offline
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.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#173479 - 2007-01-31 11:53 PM Re: ANY SAVIOUR I N HERE TODAY?? [Re: Radimus]
selormquarshie Offline
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
Page 3 of 5 <12345>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.072 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org