I'm trying to remotely install MindJet's MindManager 9 but it seems not to take the install key.

This is a simple batch file I created and which deletes old versions 7 and 8:

mindman.bat
@echo off

set mind7="C:\Program Files\Mindjet\MindManager 7"
set mind8="C:\Program Files\Mindjet\MindManager 8"
set mind9="C:\Program Files\Mindjet\MindManager 9"
set pdf7="C:\Program Files\Mindjet\MindManager 8\PDF-XChange\unins000.exe"
set pdf8="C:\Program Files\Mindjet\MindManager 7\PDF-XChange\unins000.exe"

:: Uninstall Mind Manager 7 or Admin and Pdf-Xchange
if not exist "C:\Program Files\Mindjet\MindManager 7" goto mind8
MsiExec.exe /QN /NORESTART /X{95868E9A-0225-4960-8266-99EDBD1CD3FF}
"C:\Program Files\Mindjet\MindManager 7\PDF-XChange\unins000.exe" /VERYSILENT goto wait1

:Wait1
Ping -n 15 192.168.130.130

:mind8
:: Uninstall Mind Manager 8 or Admin and Pdf-Xchange
if not exist "C:\Program Files\Mindjet\MindManager 8" goto mind9
MsiExec.exe /QN /NORESTART /X{70420426-A903-47DC-A588-F063CA9F99A0}
MsiExec.exe /QN /NORESTART /X{E09A98E5-A4EF-4C94-9C55-2F4C3123001E}
"C:\Program Files\Mindjet\MindManager 8\PDF-XChange\unins000.exe" /VERYSILENT goto wait2

:Wait2
Ping -n 15 192.168.130.130

:mind9
:: Install Mind Manager 9 Admin
if not exist "C:\Program Files\Mindjet\MindManager 9"
MsiExec.exe /i "Mindjet MindManager 9 Admin.msi" ADDLOCAL="ALL" REMOVE="RSS" SHORTCUTDESKTOP="0" SHORTCUTQUICKLAUNCH="0" INTERNETACCESS="0" ONLINEHELP="0" ISX_SERIALNUM="Mxxx-xxx-xxx-xxx-xxx" /qn
reg add "HKCU\SOFTWARE\Mindjet\MindManager\9\Settings" /v "EnableNotifyUpdates" /t REG_DWORD /d 0 /f goto wait3

:Wait3
Ping -n 30 192.168.130.130

:end
exit
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Try it without the dashes in the ISX_SERIALNUM property.
Answered 07/25/2011 by: Teitan
Senior Purple Belt

Please log in to comment
0
The Package KB for v7 says that there is a special "admin" version of the MSI. Vendors being what they are, I'd suggest that the situation would be the same for subsequent versions.
Answered 07/25/2011 by: VBScab
Red Belt

Please log in to comment
0
Thanks but I'm using the 'admin' version of the file. I got an unexpected reboot at uninstall of MindManager 8. Can't see why.
I set "msiexec.exe /QN /NORESTART /X{}"
Answered 07/25/2011 by: kingskawn
Purple Belt

Please log in to comment
0
use this command:
msiexec /x {GUID} REBOOT=R /qn
Answered 07/26/2011 by: Teitan
Senior Purple Belt

Please log in to comment
0
Thanks Teitan for the info but the uninstall of Mindmanager works now but it's the uninstall of PDF-Xchange that reboots the machine.

For now I'm using these commands but it's not 100%:

taskkill /s localhost /f /im pdfsaver.exe
"C:\Program Files\Mindjet\MindManager 8\PDF-XChange\pdfSaver\pdfSaver3.exe" /quit
"C:\Program Files\Mindjet\MindManager 8\PDF-XChange\unins000.exe" /VERYSILENT /NORESTART
RMDIR /S /Q "C:\Program Files\Mindjet\MindManager 8"
Answered 07/26/2011 by: kingskawn
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity