+ Reply to Thread
Results 1 to 7 of 7

Thread: Detect Previous Version

Hybrid View

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

    Default Detect Previous Version

    I want to detect the current installed version of my product. The command Detect Previous Version only returns the path of the product. I'm interested in [PRODUCTVER] defined in my previous installation. Is this possible to find anywhere?

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

    Default Re: Detect Previous Version

    What you can do is to read this information from the Registry. It's stored under \Uninstall\{YourGUID} - read the DisplayVersion value.

    Does this help?

  3. #3

    Default Re: Detect Previous Version

    You check this version in the WebUpdate program, and I went to see its source (quite cool, btw, that this is written IN SetupBuilder . There I see you fetch the current version from HKLM\Software\Lindersoft\WebUpdate\Apps\GUID.

    Which method do you recommend, the UNINSTALL or the WebUpdate way?

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

    Default Re: Detect Previous Version



    I would suggest to use the UNINSTALL method. BTW, please check both HKLM and HKCU!

  5. #5

    Default Re: Detect Previous Version

    I can't seem to find these Uninstall sections in the registry. What is the exact path?

  6. #6

    Default Re: Detect Previous Version

    Found one under HKLM\Software\Microsoft\Windows\CurrentVersion\Uni nstall
    , but not any under CU.

    Now the next question, the main application inserts a uninstall here, and I see it has the correct version.

    But after running wupdate and updating my version, this registry value still contain the old value.

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

    Default Re: Detect Previous Version

    If the Uninstall entry does not exist then you have installed all programs with Admin rights ;-)

    BTW, it is your responsibility to update the version number. And to have full control, you can use your own registry key! You can add a version number, last update date, etc., etc. Use the Edit Registry and Get Registry Key Value functions.

    Does this help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Core PreRequisites Version 6.0
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 12-18-2006, 11:57 PM
  2. How can I get Setup builder to uninstall a previous version
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 3
    Last Post: 11-09-2006, 05:46 AM
  3. #00012: How to detect and uninstall previous version?
    By FAQ in forum SetupBuilder FAQs, Tips and Techniques
    Replies: 0
    Last Post: 02-13-2006, 08:57 AM
  4. iDeploy WebInstaller/WebUpdate
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 3
    Last Post: 07-06-2005, 01:24 AM
  5. wupdate.exe fix cannot find previous version
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 1
    Last Post: 03-13-2005, 03:38 AM

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
  •