+ Post New Thread
Results 1 to 6 of 6
Windows 8 Thread, CMD package deployment on Windows 8.x in Technical; Hi, I have a package I've created for deployment on an RM network which uses an exe to install but ...
  1. #1
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    595
    Thank Post
    66
    Thanked 16 Times in 15 Posts
    Rep Power
    19

    CMD package deployment on Windows 8.x

    Hi,

    I have a package I've created for deployment on an RM network which uses an exe to install but have had to create a cmd script for the uninstall as need to run multiple MSI's to remove this fully and cleanly.

    The script works fine on Windows 7 SP1 64-bit computers and does complete successfully on Windows 8.1 64-bit computers but is reported back to the RM Assignment Overview console as failing however, don't think this is RM related as this console simple reports back what Windows is telling it and the script appears to be uninstalling what it should be anyway.

    I can't see anything helpful in the event log and already have each msiexec command piping out to a log file but again, there doesn't appear to be any indication as to why it's reporting this back as failed.

    I can only think that Windows 8.x maybe has a different execution policy which is treating this process differently....?

    RM won't support script-based packages so can't get help there unfortunately.

    Any ideas?

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,917
    Thank Post
    226
    Thanked 2,676 Times in 1,973 Posts
    Rep Power
    787
    Can you post the batch file you are using?

  3. #3
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    595
    Thank Post
    66
    Thanked 16 Times in 15 Posts
    Rep Power
    19
    Code:
    pushd "%~dp0"
    msiexec.exe /quiet /package {90150000-0011-0000-0000-0000000FF1CE} /uninstall {7F6C4883-A18C-459A-82C1-A2F9403F2DA6} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0015-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0016-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0018-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0019-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-001A-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-001B-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-001F-0409-0000-0000000FF1CE} /uninstall {1F79A96A-2A70-45B3-8A5C-79DA61952879} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-001F-040C-0000-0000000FF1CE} /uninstall {9BB6CB7C-80E3-4F73-8A82-E3D88A3721BE} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-001F-0C0A-0000-0000000FF1CE} /uninstall {64B94D95-B6EC-4E25-832F-D15B13ACFB0C} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-002A-0000-1000-0000000FF1CE} /uninstall {7A8FE9A6-2BBC-48F7-A2CF-2578F60EC895} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-002A-0409-1000-0000000FF1CE} /uninstall {D6102DAA-7EB4-4E95-A58B-613078A242B0} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-002C-0409-0000-0000000FF1CE} /uninstall {14584904-277D-4E54-88E8-7705B774B526} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0044-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-006E-0409-0000-0000000FF1CE} /uninstall {0489F084-D6CB-46CE-BFA3-C142E7278864} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0090-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-00A1-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-00BA-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-00E1-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-00E2-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0115-0409-0000-0000000FF1CE} /uninstall {0489F084-D6CB-46CE-BFA3-C142E7278864} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0116-0409-1000-0000000FF1CE} /uninstall {D6102DAA-7EB4-4E95-A58B-613078A242B0} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-0117-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    msiexec.exe /quiet /package {90150000-012B-0409-0000-0000000FF1CE} /uninstall {D0389590-F29B-4C3D-8CC1-E10BD7581DA4} /norestart MSIRESTARTMANAGERCONTROL="Disable" /l+ c:\temp\Office2013sp1_uninst.txt
    popd

  4. #4
    ADMaster's Avatar
    Join Date
    May 2012
    Posts
    330
    Thank Post
    5
    Thanked 35 Times in 30 Posts
    Rep Power
    23
    Hello,
    I’ve no experience with RM but here goes.
    Try adding
    Exit 0
    To the end of your batch file.
    The script should always return successful, the only down side is you really won’t know if there is an error.
    Does RM have a way to check if the software was removed, use that as validation if it does.

    Cheers.

  5. Thanks to ADMaster from:

    randle (19th May 2014)

  6. #5
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    595
    Thank Post
    66
    Thanked 16 Times in 15 Posts
    Rep Power
    19
    As mentioned, I don't think this is RM related so your suggestion may well work. It's obviously Windows reporting back slightly differently on Windows 8.x than it does on Windows 7 for the same process.

    I'll let you know.

  7. #6
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    595
    Thank Post
    66
    Thanked 16 Times in 15 Posts
    Rep Power
    19
    Smashing job. The above suggestion worked thanks. I know this will always return a success and maybe using just "Exit" without a code will work but the script is calling multiple MSI's so if these fail I can check the log that's being written to which I specified at the end of each line. Just means a manual check but will be a rare occurrence that it needs to be removed anyway. I just like to be able to control this and tidy up after.

SHARE:
+ Post New Thread

Similar Threads

  1. [Windows Software] Which serial number for deploying unlimited Windows Server VM on Datacenter 2008 ?
    By albertwt in forum Licensing Questions
    Replies: 3
    Last Post: 26th August 2010, 03:49 PM
  2. CC4 - error on package deployment
    By bertster in forum Network and Classroom Management
    Replies: 6
    Last Post: 7th July 2010, 09:37 PM
  3. Replies: 3
    Last Post: 16th November 2006, 06:35 PM
  4. Setting DHCP Vendor Classes on Windows 2003 Server
    By acb_ in forum How do you do....it?
    Replies: 13
    Last Post: 17th July 2006, 11:19 AM
  5. Replies: 7
    Last Post: 24th May 2006, 02:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •