Community Forums
Results 1 to 5 of 5

Thread: What events are related to Upgrade

  1. #1
    Join Date
    Oct 2010
    Posts
    147

    What events are related to Upgrade

    When the program runs as an upgrade, what events are available or values set to know we're in that mode?

  2. #2
    Join Date
    Jul 2003
    Location
    North Kingstown, RI, USA
    Posts
    1,330
    For basic MSI installs the property UPGRADINGPRODUCTCODE is set during an upgrade.
    For a list of all properties available look at http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

    Scroll down to the section regarding Installation Status Properties.
    Regards,
    Dan Lee

    Release Engineer

  3. #3
    Join Date
    Oct 2010
    Posts
    147
    I'm sorry for being clueless, but I'm confused by this. What property is set to this value or what value is this property if it's an upgrade?

    Is there an example of how I would use it in an InstallScript and in which event? Thanks in advance.

    Quote Originally Posted by DLee65 View Post
    For basic MSI installs the property UPGRADINGPRODUCTCODE is set during an upgrade.
    For a list of all properties available look at http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

    Scroll down to the section regarding Installation Status Properties.

  4. #4
    Join Date
    Jul 2003
    Location
    North Kingstown, RI, USA
    Posts
    1,330
    I do not know what InstallScript uses for determining if the installation is an upgrade. Your original post did not specify the installation type.

    For the basic MSI windows installer property I would encourage clicking on the link I provided and reading about the properties, including the UPGRADINGPRODUCTCODE. It will also teach you about its value at runtime, which should be your application's ProductCode.

    If your installation package is a pure InstallScript, hopefully someone else can assist with your question.
    Regards,
    Dan Lee

    Release Engineer

  5. #5
    Join Date
    Oct 2010
    Posts
    147
    We are using InstallScript. Never got a response to this a few years ago. Trying to address this issue again.

Posting Permissions

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