1 Reply Latest reply on Mar 17, 2017 7:51 AM by FormerAltirisGuy

    RegKey Detection Rule x86/x64

    FormerAltirisGuy Apprentice

      Hi

       

      I am preparing deployment of WinZip 21 64-bit. Package and PowerShell script to install are ready and work. Using 9.6 SP1 (it's not possible to upgrade).

      I created a Batch Package (because running ps1 files directly does not work properly on Win7). Batch process runs as 64-bit.

       

      Then I built the detection rule: "matching registry value"

      SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CD95F661-A5C4-44F5-A6AA-ECDD91C2410D}    (because it's 64-bit)

      DisplayVersion = 21.0.12288

       

      Well --> is does NOT work :-(

       

      Copying the RegKey to the 32-bit WOW key and re-configuring the detection rule to this key ----> WORKS!!

      SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CD95F661-A5C4-44F5-A6AA-ECDD91C2410D}

       

      I only stumbled upon this because my detection rule of Adobe Acrobat 32-bit worked right away. This is the Adobe uninstall key:

      SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-FFFF-7760-000000000006}

      Also running a Batch Package as 64-bit process.

       

      So, I don't get it why not using the "native" 64-bit uninstall key of a 64-bit software?

      I will see what happens when running the batch package as 32-bit process.

        • 1. Re: RegKey Detection Rule x86/x64
          FormerAltirisGuy Apprentice

          really strange:

          SOFTWARE\Nico Mak Computing\WinZip\WinZip

          Version = 21.0.12288

          does NOT work, either.

           

          But

          SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1

          DOES!!

           

          So, only Wow6432Node keys DO work :-(

          Why?

          Running the batch package as 32-bit does not change a thing.

          I see the residentAgent.exe process is a 32-bit process, right? Isn't there a 64-bit agent of LANdesk?