Dynamic Instance naming - Advanced Installer Community
manuel_armas
Posts: 23
Joined: Fri Jun 13, 2014 6:20 pm

Dynamic Instance naming

Please see image for my scenario and question.
11-14-2014 8-40-22 AM.png
11-14-2014 8-40-22 AM.png (179.27 KiB) Viewed 4914 times
thanks,
Manny
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Dynamic Instance naming

Hi Manny,

I've tested your scenario and it worked as expected.
When installing, the installation path displays the value of APPDIR. You can set APPDIR in the Application Folder field from the Install Parameters. By default it is:

Code: Select all

[ProgramFilesFolder][Manufacturer]\[ProductName]
Can you please make this change and see if the behavior still persist? Also, does the behavior can be replicated on multiple machines? If Yes, please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
manuel_armas
Posts: 23
Joined: Fri Jun 13, 2014 6:20 pm

Re: Dynamic Instance naming

I have 2 scenarios on my issue..

first is the name of the instance displaying in the control panel. it should use the custom name. - this was not answered on your reply.
second is the folder path,Did you used dynamic instance? I'm using the default value of the application folder.

thanks,
Manny
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Dynamic Instance naming

Hi Manny,

Yes, I've tested your scenario, using dynamic instance.
The entry from the Control Panel list was properly named according to the provided name. (when a custom name was selected for the instance name).
Also, the folder path was properly updated according to the provided name.

So, can you please try to create a sample project and see if the behavior still persist?
Just create a new project and proceed with the installation process.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
manuel_armas
Posts: 23
Joined: Fri Jun 13, 2014 6:20 pm

Re: Dynamic Instance naming

Hi Dan,

hmm.. I think there is a missing on my scenario...

that issue is happening when installing new build (different version), not on installing same version.
I mean..

Lets say.. you install build 14.1,
then install again same version/build... its working fine.

but when you create another build.. let say 15.1.
then select new instance.. that is where it is not working.. it still using the default instance/product name.

I attached my sample project for your checking...
you just need to create two builds to replicate the issue.

Thanks,
Manny
Attachments
TestProd.aip
(16.69 KiB) Downloaded 413 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Dynamic Instance naming

Hi Manny,
but when you create another build.. let say 15.1.
then select new instance.. that is where it is not working.. it still using the default instance/product name.
Indeed, this is correct. It tries to upgrade the default instance.

After you selected the Major Upgrade option, a new product code has been generated. Currently, when you run the new installation package you should only be able to upgrade an existing instance and the Install new instance option should be disabled.
This is happening because the side by side upgrade option is incompatible with the Generate instances at install time option.

Also, please note that it is not recommended to enable the side by side installation option when the generate dynamic instances are used in your installation package.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”