Is this possible? - 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!

mackavi
Posts: 1
Joined: Mon Aug 16, 2010 12:32 pm

Is this possible?

We have a piece of software that activates by username / serial number which is then stored in the registry. We have been asked if this could be added to the installer for a silent network install and found that we could pass the the values as parameters using COMPANYNAME and PIDKEY and the installer would write this as new strings.

However, the problem is that several pieces of our software use the company name value string and if the installer runs without the parameters, it overwrites the string with a blank value. We are using AI Pro but this is a simple project and thus serial validation is not enabled. What I was hoping to do was ignore the passed parameter if null / blank. Is this possible?

Regards,

Mack
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Is this possible?

Hi Mack,

I'm afraid what you are asking is not possible.
However you can set a default value to your COMPANYNAME parameter by adding it as a public property in Install Parameters inside the project.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”