system
May 19, 2010, 12:11am
1
(imported topic written by SirFixAlot91)
Hello all,
I fear that I will be repeating a question asked many times already but, I am attempting to remove a program (Snagit 9) and then install it (Snagit 10) again. If I run the following from CMD line on a local system it works fine:
MsiExec.exe /uninstall {0E6ED660-498C-42F7-9EF4-FB0C96DFC01A} /qn TSC_DATA_STORE=1 REBOOT=“ReallySuppress”
The problem then being that I cannot get this to translate into BigFix in order to remove the software, but the install portion works fine in BF. Can someone point me in the right direction in order to get this to work? I tried to tailor the following to my situation without any luck . . .
http://www.pimpmybes.com/viewtopic.php?id=4826
Thanks,
Dan
system
May 19, 2010, 12:29am
2
(imported comment written by SirFixAlot91)
Sorry - Just Got It To Work! ~ Dan
(imported comment written by SystemAdmin)
Just for future reference, how did you get it to work?
(imported comment written by SirFixAlot91)
waithidden MSIEXEC /qn /uninstall {{0E6ED660-498C-42F7-9EF4-FB0C96DFC01A} /qn TSC_DATA_STORE=1 REBOOT=“ReallySuppress”
download http://“IP HERE”:52311/Uploads/685c1328a52945612f585b9ebb9a966614e936d6/snagitexe.tmp
continue if {(size of it = 28859008 AND sha1 of it = “685c1328a52945612f585b9ebb9a966614e936d6”) of file “snagitexe.tmp” of folder “__Download”}
extract snagitexe.tmp
wait __Download\snagit.exe /q
download http://“IP HERE”:52311/Uploads/393c5b392de031a8cc5e87ac2b29a0db45372201/SnagIt_10reg.tmp
continue if {(size of it = 347 AND sha1 of it = “393c5b392de031a8cc5e87ac2b29a0db45372201”) of file “SnagIt_10reg.tmp” of folder “__Download”}
extract SnagIt_10reg.tmp
waithidden regedit /s “{pathname of client folder of current site & “__Download\SnagIt_10.reg”}”
(imported comment written by SirFixAlot91)
Ok, I have run into one additional issue here . . . I cannot get BF to copy a shortcut for the program. I first tried the idea mentioned here:
http://forum.bigfix.com/viewtopic.php?id=986 (no luck)
I then tried putting the request in a batch file and having BF run that (below)
download http://“server name”:52311/Uploads/2cd3e … gitbat.tmp
continue if {(size of it = 158 AND sha1 of it = “2cd3ecc19735d135f0dbf191539c588bb2276faa”) of file “snagitbat.tmp” of folder “__Download”}
extract snagitbat.tmp
wait “{pathname of system folder & “\cmd.exe”}” /Q /C “{(pathname of client folder of current site) & “__Download\snagit.bat”}”
(this is what is in the snagit.bat, which works fine when ran from desktop)
copy “\“sever/share name here”\Snagit 10.lnk” “C:\Documents and Settings\All Users\Desktop\Snagit 10.lnk”
No luck . . . any thoughts?
(imported comment written by SirFixAlot91)
Wow . . . two hours of my life wasted on the “space” in the link name . . . .?
It works now:
download http://“Server Name”:52311/Uploads/238cb277238e45338bef9af6bdc7d94fd89b720e/link.tmp
continue if {(size of it = 1556 AND sha1 of it = “238cb277238e45338bef9af6bdc7d94fd89b720e”) of file “link.tmp” of folder “__Download”}
extract link.tmp
copy “__Download\snagit10.lnk” “C:\Documents and Settings\All Users\Desktop\snagit10.lnk”