We have a simple scripting problem (not my subject) whereby it fails if the EXE is already uninstalled. (Its works to uninstall)
Is there an obvious error in the script?
Can anyone suggest and enhancements?
Thanks in advance.
if exist c:\program files\autodesk\dwg trueview\DWGVIEWR.exe (
GOTO UNINSTALL
)
if exist not c:\program files\autodesk\dwg trueview\DWGVIEWR.exe (
GOTO END
)
:UNINSTALL
msiexec/UNINSTALL {2CD6BBA0-17C8-4789-9B9B-B36F7E815F6A} /qb
:END
END
Is there an obvious error in the script?
Can anyone suggest and enhancements?
Thanks in advance.
if exist c:\program files\autodesk\dwg trueview\DWGVIEWR.exe (
GOTO UNINSTALL
)
if exist not c:\program files\autodesk\dwg trueview\DWGVIEWR.exe (
GOTO END
)
:UNINSTALL
msiexec/UNINSTALL {2CD6BBA0-17C8-4789-9B9B-B36F7E815F6A} /qb
:END
END
Comment