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!

RCoin
Posts: 2
Joined: Tue Aug 04, 2015 3:48 pm

Changing company name. PIDKEY and silent update installs.

Hi,

I'm in need of changing the Company Name from an installer.

Currently, updates install silently and the serial number is automatically inserted using the PIDKEY Property.

However, since in the registry is stored within my old Company Name, the new package won't retrieve the serial number since it is searching it using the new company name.

Can I add a rule so that if the new Registry doesn't exist, it automatically searches in the one with the previous company name?

Thanks for any help. =)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing company name. PIDKEY and silent update installs.

Hello,

Please accept my apologies for the delayed reply.

To achieve what you want you can try to create two searches in "Search" page:
1. one search (i.e. NEW_SEARCH_PROP) which will look up for the PIDKEY under the new company name registry path
2. another search (i.e. OLD_SEARCH_PROP) which will look up for the PIDKEY under the old company name registry path

Then you can set the first search property to the second search property value if the first search has failed. Just go to "Custom Actions" page and add two "Set installer property" custom action with sequence scheduled after the "Searches" action groups just like this:
  • Property: NEW_SEARCH_PROP
    Value: OLD_SEARCH_PROP
    Condition: NOT NEW_SEARCH_PROP

    Property: PIDKEY
    Value: NEW_SEARCH_PROP
    Condition:
Let us know if this helped, otherwise please give us more details about your installation scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”