/build/static/layout/Breadcrumb_cap_w.png

Deploy Dameware through Managed Install

I am trying to deploy Dameware to systems: Win XP, Win7 x86 and Win7 x64 through managed install. The issue I am running to is Dameware has different MSI for each of these platforms. When I upload the x86 msi and associate it with the software I can only install it on x86 machine and that is fine but now I want to upload the x64 msi but how can I associate that to the software?

 

Thank you,


0 Comments   [ + ] Show comments

Answers (2)

Posted by: dugullett 11 years ago
Red Belt
6

Create seperate custom inventory rules for the both?

Posted by: bozadmin 11 years ago
Brown Belt
2

My Dos is rusty! I zipped all 3 msi but need assistance on the batch file please.

@ECHO OFF

IF EXISTS "%ProgramFiles(x86)%" (

    Dameware Win7 x64 Agent.MSI

) ELSE (

Dameware Win7 x86 Agent.MSI

) ELSE (

Dameware Win XP Agent.MSI

)


Comments:
  • If you're wanting to use this method you could use something like this.

    @echo off
    ver | find "XP" > nul
    if %ERRORLEVEL% == 0 goto ver_xp

    echo %vers% | find "Windows 7" > nul
    if %ERRORLEVEL% == 0 goto ver_7

    :ver_7
    msiexec /i blah.msi /q

    exit

    :ver_xp
    msiexec /i blah_blah.msi

    exit - dugullett 11 years ago
  • Thank you dugullett - I will give it a try and let you know how it goes. - bozadmin 11 years ago
  • What about the Win 7 x64? - bozadmin 11 years ago
    • Under :ver_7 you can add

      IF %processor_architecture% == AMD64 goto x64
      IF %processor_architecture% == x86 go x86

      However I think it would be much easier to create custom inventory rules for these. It could come in handy later to know what machines have what. - dugullett 11 years ago
  • I have not created custom inventory rule yet and not sure how to. I will look around and try that if its much easier.

    Thanks, - bozadmin 11 years ago
    • Inventory>Software>Choose Action>Add New Item. Populate display name, vendor,
      version. Select your OS. You will see a "Custom Inventory Rule" section midways down. If you click on the yellow "?" it will give you some examples.

      Also check these out.

      K1000: Using Custom Inventory Items to Handle Advanced K1000 Distribution
      https://kace.webex.com/kace/lsr.php?AT=pb&SP=TC&rID=62177067&act=pb&rKey=e13c801a6248f5c7

      Europe KKE - Getting more from K1000 with Custom Inventory
      https://kace.webex.com/kace/lsr.php?AT=pb&SP=TC&rID=64841087&rKey=6fb8ea350b210fcf&act=pb

      K1000: Americas KKE Series - K1000 Hidden Jewels: Custom Inventory Items
      https://kace.webex.com/kace/lsr.php?AT=pb&SP=TC&rID=63925152&act=pb&rKey=c0e0a99e3a4dd3a9 - dugullett 11 years ago
      • I created custom rule RegistryValueEquals(HKLM\SYSTEM\CurrentCongtrolSet\Control\Session Manager\Envirornment, Processor_Architecture, AMD64)

        Then uploaded my x64 installed and and assigned it to Win7 x64 OS when I enable the MI nothing happens. - bozadmin 11 years ago
  • Ok first "CurrentControlSet" is misspelled. You don't want to inventory this key though. This would inventory every x64 machine in your network.

    In you managed install ZIP your .msi, a blank .txt file, and a .cmd file. The CMD file should read something like this:

    @echo off
    msiexec /i <name_of_msi>.msi /qb-!
    copy /y <name_of_txt>.txt "c:\some\directory"
    exit


    When you create your custom inventory rule use this.

    FileExists(C:\some\directory\<name_of_txt>.txt)

    Upload your ZIP file to this software record. Then create your MI as you normally would.

    Doing it this way will now inventory every machine that has this .txt file. Which should copy down after the msi installs. Once Kace sees it in inventory it will no longer try and install. Be sure the directory exists where you are copying the .txt file to. I have a default folder on my machines C:\updates. - dugullett 11 years ago
    • Let me give it that a try. - bozadmin 11 years ago
      • That's what this is. Create three separate ones. Name your txt file different in all three. If that txt file exists in the directory you specify Kace will say it has the software. - dugullett 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ