Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Major Upgrade with same product code


8 replies to this topic

maxk

maxk
  • Full Members
  • 38 posts

Posted 07 June 2015 - 17:05

Hello,

 

Are there any ways to use a same product code for a major upgrade?

If not, any suggestions to upgrade using a same product code?

 

Thanks,

M

 



perumal

perumal
  • Full Members
  • 10 posts

Posted 08 June 2015 - 11:08

What is the issue to change product code in major Upgrade...?

You can change product code it will uninstall existing software and it will reinstall.so you dont have issue with old product code...



maxk

maxk
  • Full Members
  • 38 posts

Posted 08 June 2015 - 14:46

Hi perumal,

 

No issue changing the product code, just clients' request.

I was wondering if I could use a major upgrade with a same product code.

 

Thanks.



gmpk82

gmpk82
  • Full Members
  • 40 posts

Posted 09 June 2015 - 07:16

hi Maxk,

 

             as far as I know, changing product code is the better way to make major upgrade. Probably your clients scripts or application are looking for your current products "product code" to install/uninstall/upgrade, if this is the case you can provide a VB script to handle uninstall part. hope this helps you.

 

 

regards,

Phanik 


Edited by gmpk82, 09 June 2015 - 07:17.


maxk

maxk
  • Full Members
  • 38 posts

Posted 10 June 2015 - 15:38

Hi Phanik,

 

I absolutely agree with you and prefer to use a major upgrade for many reasons.

I'm not sure what they are trying to do but I guess I'll have to go with a minor upgrade.

And I already don't like a minor upgrade.  :)

 

Thanks,

M



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 June 2015 - 17:40

By definition, a major upgrade is an upgrade where the ProductCode is difefrent, so: no, you can't have a major upgrade without changing the product code.

Your options:

  • A Minor Update that doesn't change the ProductCode, but has some restrictions (typically requires setup.exe, Component update rules)
  • Some sort of script or exe that will first uninstall the old version then install the new version, without using Windows Installer's Major Upgrade functionality.


maxk

maxk
  • Full Members
  • 38 posts

Posted 10 June 2015 - 19:18

Hi Stefan,

 

You're right. I couldn't find a way so I decided to go with a minor upgrade.

But I don't like the restrictions.

 

Thanks for your info,



gmpk82

gmpk82
  • Full Members
  • 40 posts

Posted 12 June 2015 - 07:20

Max,

 

         get the exact reason from your clients, so that you can decide how to design installer behaviour. Changing GUID is not the BEST PRACTICE always to address simple issues.



maxk

maxk
  • Full Members
  • 38 posts

Posted 12 June 2015 - 16:13

Hi gmpk82,

 

I agree with you. It's the other contractors that are complaining. They're saying some utilities do not recognize with the different GUID.

I've never done this way before but the clients approved so nothing I can do. 

 

Thanks,

M