Custom User Registration Dialog - 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!

Five
Posts: 3
Joined: Thu Dec 10, 2009 2:10 pm
Location: Schönbühl, Switzerland

Custom User Registration Dialog

Hi

We're evaluating the enterprise version of Advanced Installer for our software distribution. We protect our software with armadillo which comes with it's own license-manager. In order to keep the installer change for our customers as convenient as possible we decided to stay with armadillo. However, the licence-validation of armadillo expects two parameters: the key and a name. Those can be passed to it's dll during the installation so our customers would only have to enter it once.
Is it possible to alter Advanced Installer's serial validation so the name can be passed to the dll as well? And if so, how?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Custom User Registration Dialog

Hi,

The serial number validation feature does not support this, but you can try using a custom dialog and a custom action. Assuming that the DLL is not designed to work with Windows Installer, you can try using a Call function from a standard dll custom action. When configuring it, you can set function arguments to the installer properties used by the controls on the custom dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Five
Posts: 3
Joined: Thu Dec 10, 2009 2:10 pm
Location: Schönbühl, Switzerland

Re: Custom User Registration Dialog

Brilliant, thanks Cosmin!
Five
Posts: 3
Joined: Thu Dec 10, 2009 2:10 pm
Location: Schönbühl, Switzerland

Re: Custom User Registration Dialog

I've a follow-up question to this.
I go the Custom Action and I'm working on integrating it into a control which is the 'next'-button in my registration dialogue. The Event is 'doAction' and the Argument 'CheckArmKey' - the name of the dll. But I can't figure out, what the condition should be. In my opinion it should be something like 'return value of CheckArmKey > 0' but it doesn't work like that.
I' d appreciate if you could help me with this.

I find it strange that if you try to search for common words in the forum you get no result. I know that in these cases the query should be more specific but sometimes that's not possible. Just my two cents.

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Custom User Registration Dialog

Hi,
But I can't figure out, what the condition should be. In my opinion it should be something like 'return value of CheckArmKey > 0' but it doesn't work like that.
If you want the DLL to affect the installation you need to write it in a special way. You can find more details here. This way the DLL can set installer properties which can then be used by the package.

Another approach is to use the Call a function from a standard dll predefined custom action. You can try configuring it to set an installer property to the return code of your DLL. The property can then be used to condition the control event.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”