#173352 - 2007-01-29 03:27 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
....to make sure the desired output will be gained when i deploy it......please any help will be huge
|
Top
|
|
|
|
#173381 - 2007-01-30 02:43 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: NTDOC]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
here's my latest code for the software removal...any ommissions or additions or ideas to tune this up will be appreciated........
Break Off $programpath="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Pivotal\Relation\DeIsL1.isu"
If Exist($programpath) = 0
Shell '%systemroot%\system32\uninst.exe -y -f"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Pivotal\Relation\DeIsL1.isu" " /passive' Sleep 6
$rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)
Else ? $programpath + "Does not Exist" EndIf
|
Top
|
|
|
|
#173383 - 2007-01-30 03:28 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
I do have a laptop with Relationship installed yet still when i run the code it doesn't uninstall it......please anyone help....
$programpath= "C:\Program Files\Pivotal\Relation"
If Exist($programpath) = 0
MessageBox ("", "Please wait while Relationship is uninstalled","ESI INT'L", 10, 0, 1) Shell 'C:\WINDOWS\MsiExec.exe -y -f"C:\Program Files\Pivotal\Relation" ' $rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)
Sleep 6
Else ? $programpath + "Does not Exist" EndIf $rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)
Else ? $programpath + "Does not Exist" EndIf
Edited by selormquarshie (2007-01-30 03:37 AM)
|
Top
|
|
|
|
#173385 - 2007-01-30 03:40 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
I do have a laptop with Relationship installed yet still when i run the code it doesn't uninstall it......please anyone help....
$programpath= "C:\Program Files\Pivotal\Relation"
If Exist($programpath) = 0
MessageBox ("", "Please wait while Relationship is uninstalled","ESI INT'L", 10, 0, 1) Shell 'C:\WINDOWS\MsiExec.exe -y -f"C:\Program Files\Pivotal\Relation" ' $rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)
Sleep 6
Else ? $programpath + "Does not Exist" EndIf
|
Top
|
|
|
|
#173387 - 2007-01-30 03:45 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Les]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
here are my changes......but i'm buffled by this code..it still wont output right.....i need to submit this tomorrrow....please help...
$programpath= "C:\Program Files\Pivotal\Relation"
If Exist($programpath) = 1
MessageBox ("", "Please wait while Relationship is uninstalled","ESI INT'L", 10, 0, 1) Shell 'C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" ' $rc = Shutdown("", "System is being rebooted to enable new settings.", 300, 0, 1)
Sleep 6
Else ? $programpath + "Does not Exist" EndIf
|
Top
|
|
|
|
#173391 - 2007-01-30 06:04 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Sealeopard]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
ok here i come again....i figured that C:\Program Files\Pivotal\Relation is a folder not a file. i may be wrong or right...however if this isn't the right file, what command do i use to locate a FOLDER instead of a file?? i realize the EXIST command is to locate a file not folder........ any help??
|
Top
|
|
|
|
#173393 - 2007-01-30 06:25 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: Sealeopard]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
yea it read " c:\program files\pivotal\relation is a folder and exists
Edited by selormquarshie (2007-01-30 06:30 AM)
|
Top
|
|
|
|
#173394 - 2007-01-30 06:38 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: selormquarshie]
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
Is this an application for CRM from here: http://www.pivotal.com/products/
If so which one?
What version of KiXtart are you using?
|
Top
|
|
|
|
#173395 - 2007-01-30 06:41 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: NTDOC]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
yes it's from there and the program is Relationship. kix version 4.51
|
Top
|
|
|
|
#173397 - 2007-01-30 06:46 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: selormquarshie]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
when i run the script by Sealeopard is confirms the existence of the folder however when i run the following code it doesn't remove it. rather it jumps from the MESSAGEBOX to the DOES NOT EXIT line.....weird..
Break off
$programpath= "C:\Program Files\Pivotal\Relation"
If Exist($programpath) = 1
MessageBox ("", "Please wait while Relationship is uninstalled","ESI INT'L", 10, 0, 1) Shell 'C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu"' $rc = Shutdown("", "System is being rebooted to enable new settings.", 300, 0, 1)
Sleep 6
Else ? $programpath + "Does not Exist" EndIf
|
Top
|
|
|
|
#173398 - 2007-01-30 06:48 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: selormquarshie]
|
selormquarshie
Getting the hang of it
Registered: 2006-12-24
Posts: 85
|
this is the exact script i found for the uninstall......
C:\WINDOWS\uninst.exe -f"C:\Program Files\Pivotal\Relations\DeIsL1.isu
|
Top
|
|
|
|
#173399 - 2007-01-30 07:07 AM
Re: ANY SAVIOUR I N HERE TODAY??
[Re: selormquarshie]
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
Please use CODE TAGS when posting to preserve the formatting.
I did not ask for the script you found, though if you found that one a link to where you found it would be good.
Please copy this into a clean new script and run it like this from a workstation that has it installed and report back exactly what it returns.
KIX32.EXE RemoveRelation.kix
Dim $Msg, $Pause
If Exist('C:\Program Files\Pivotal\Relation\relation.exe')
$Msg = MessageBox('Please wait while Relationship is uninstalled','ESI International',4160,10)
;I'm guessing this line is correct as I don't know and I don't have the program to test
Shell 'C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" '
'Error: ' + @ERROR + ' - ' + @SERROR ?
'Press any key to continue ' ?
Get $Pause
;This will FORCE all applications closed without saving data within 90 seconds
$RC = Shutdown("","System is being rebooted to enable new settings.", 90, 1, 1)
;No need for a sleep command
Else
;You would not want this to show though on every logon
'The eRelation program was not found on this system ' ?
EndIf
.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 152 anonymous users online.
|
|
|