Changing Serial Number During Upgrade (Setting In Registry) - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rehook
Posts: 8
Joined: Thu Sep 02, 2010 5:21 am

Changing Serial Number During Upgrade (Setting In Registry)

Hi,

I'm having some trouble getting everything to work properly.

With alot of help from these boards, I've been able to get the settings configured so a user can enter the serial number, verify against server and during an upgrade/update have the serial number auto-populate the serial number box so they don't have to type it in again.

Here is the problem.

Let's say I give a user a temporary key.. like a trial key that is only good for 30 days.
This value is stored in the registry and works as planned.

But what if I need to issue them a newer key becuase the older key has expired or is expiring..
What is happening is the current value (old key) from the registry is being read during the update (which is designed to auto-populate the serial box... does this just fine)
but when the user enters the "NEW" key.. the old key is still being considered by the installer, and the registry does not get updated with the "new" key. The old key remains


Am I missing something easy here? I've tried everything I could think of.
Setting the "remove if present on uninstall" "create if not-present on install" etc.

I think what is happening is the "Custom Behavior > Search" variables are not being updated (and I'm sure it's designed that way) when a new serial is entered into the serial box.

So I guess my question is
How do I use the value from the serial number box to tell the installer that "this is the NEW value" we want to check everything with

Your help is much appreciated.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Changing Serial Number During Upgrade (Setting In Registry)

Hi,
How do I use the value from the serial number box to tell the installer that "this is the NEW value" we want to check everything with
When you type a new serial in the MSI dialogs the installer should use it, not the old one.

Can you please send the project you are using to support at advancedinstaller dot com so we can analyze it, along with a verbose log created during the upgrade?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”