p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Public Properties suddenly not being passed on

Hello, my current problem is that my public properties that I have set (by custom action during the UI portion) are no longer being pulled through to the actual install phase.

Background: I had an installation package that I built several years ago for our product and it has been working great but I needed to update it to allow 64 bit installations (was only 32 bit.)
The product is a Java product so I removed the Bundled JRE and have created a seperate JRE Prerequistie Install for x86 and x64 (this part works great.)
I changed the Package Type (after some trial and error) to Mixed 32/64 for all my Builds
I removed a few CustomActions that had become redundant over the years.


Problem: After the UI sequence completes certain Public Properties that were set by Custom Actions during the UI sequence are not passed onto the main installation phase. Properties that I configured on the Property screen do pull through though. I am updating my Advanced Installer to the latest version now and otherwise I will start over from the beginning. Maybe I broke something... :(
p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Re: Public Properties suddenly not being passed on

Ok so I started from a AIP where I had not yet changed the PackageType and I suspect that problems I have been having were being caused by the Wizard that is fired during the switch to Mixed 32/64... I think it didnt run correctly/completly in the older version (9.7) of Advanced Installer....

But now I have another problem, after the Wizard completes it has re-organised my Organization.... completly messing all my Features up... :(
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Public Properties suddenly not being passed on

Hi,
But now I have another problem, after the Wizard completes it has re-organised my Organization.... completly messing all my Features up...
Indeed, the features are reorganized in the Organization page based on the settings you choose during the Mixed 32/64-bit Wizard steps. If you want to keep your features unmodified, you can try to click the [Finish] button on the first dialog of the Wizard that has that button enabled.

However, please keep in mind that in this case you will need to make all the necessary changes manually (i.e. you should specify in the Organization page which components and features will be installed on a 32-bit machine and which on a 64-bit machine).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Re: Public Properties suddenly not being passed on

No worries, I restored to the previous backup again. This time when changing the Package Type, on the last page of the wizard, I changed the default option "Please duff up my Organisation" to instead be "Please leave my lovely complicated Organisation alone" which properly configured everything. I now have a working Mixed 32/64bit package. :D Still got lots to do but am making progress (I have also added a dialog to allow the installer to specify a domain account under which my service will run - domain only because I couldn't get a vbscript to very the username & password for the local computer. ) so the person installing can choose to either leave it alone and use LocalService or specify a domain account under which to run. It works, YAY!

Thanks...
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Public Properties suddenly not being passed on

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”