+ Reply to Thread
Results 1 to 3 of 3

Thread: MSI AND HKLM\SOFTWARE\Classes\Installer\Products

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default MSI AND HKLM\SOFTWARE\Classes\Installer\Products

    A client is using an automated deployment system and wonders why our software does not create a registry key (GUID) in HKEY\SOFTWARE\Classes\Installer\Products. Their system relies on this key to verify that our software is installed. As far as I can find out this key is related to MSI. I have tried to create a MSI using #exe2msi, but still nothing appears in the registry.

    I also tried to set the project to "Installer type: Microsoft Windows Installer (.MSI)", but it fails with "Compiler error: SetupBuilder Windows Installer (.msi) compiler (SBMSI) not available." According to the documentation this is "future functionality"?
    The "Package GUID" on the MSI Info tab appears to be the GUID they are looking for.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: MSI AND HKLM\SOFTWARE\Classes\Installer\Products

    Hello,

    because this key should not be used to verify that a software is installed.

    The correct location (Windows Development Guidelines) to register a product with Windows is HKLM\Software\Microsoft\Windows\CurrentVersion\Uni nstall and HKLM\Software\Wow6432Node\Microsoft\Windows\Curren tVersion\Uninstall. That's the location where Add/Remove Programs gets its information from.

    The above HKEY\SOFTWARE\Classes\Installer\Products is for MSI installs and tells only the half truth.

    BTW, you can create your own setup entries in this key, but it is NOT recommended.

    Friedrich

  3. #3

    Default Re: MSI AND HKLM\SOFTWARE\Classes\Installer\Products

    Thanks for the clarification. I also thought "Uninstall" was the right place to check - I have never noticed the "Products" location before (and several products don't appear there - not just ours). Luckily the client found a different solution so this was not a showstopper.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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