FolderDlg choice doesn't change Install Dir. - 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!

ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

FolderDlg choice doesn't change Install Dir.

I had been testing using my default install directory as entered in the Install Parameters -> Installation Folders -> Applicataion Folder text box so I hadn't noticed this behavior until now.

Let's say the entry in the text box above is [ProgramFilesFolder]MyApp

During installation, if the user changes this to say [ProgramFilesFolder]App the program will still get installed in MyApp but only one of the Merge Modules will get installed into App. In this case the msvcr71.dll file.

Naturally all shortcuts are point to App so nothing will work.

I'm sure there is a simple solution but I sure can't see it. I'm using an AI Professional type install and am currently testing on a VirtualPC 2007 Win XP SP2 machine.

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

Hi,

I cannot reproduce this behavior on my test machine.
Please make sure that the merge modules are configured to be installed in the APPDIR folder (you can set this in the "Merge Modules" page).

If the problem persists please send us the AIP (if it doesn't contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can investigate this problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

It is not so much the Merge Module but the fact that <all> of the regular install files are getting installed in the default directory "MyApp" even when the user enters "App" as the directory to be installed into.

I had mentioned the Merge Module module only to show that somewhere the install was indeed recognizing that the user had selected "App" as the install directory by both creating the directory and putting one file into it.

I will send the .ais file as an attachment to the email that was sent.

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

Hi,

You are encountering this problem because you are using a static folder in the "Files and Folders" page (you are placing your files into a folder under the "Program Files" folder instead of placing them in "Application Folder").

"Application Folder" is using the APPDIR public property which resolves at runtime [ProgramFilesFolder]BM_Win (in the "Install Parameters" page, "Application Folder" field) to C:\Program Files\BM_Win.

If you want the user to be able to modify the Application folder (the folder in which your application will be installed) then you will place your files in "Application Folder" in the "Files and Folders" page, instead of "Program Files\BM_WIN".

You can read more about the "Files and Folders" page here:
http://www.advancedinstaller.com/user-g ... lders.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Thank you for the quick reply.

As you noticed, my app has a lot of files that I have already setup under the "Program Files" section. Is there any quick way to move the whole collection from "Program Files" to "Application Folder"?

Ed
ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

Never mind <g>. I didn't realize that drag and drop was available.

Thanks again.

Ed

Return to “Common Problems”