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!

BertUschold
Posts: 3
Joined: Mon Mar 17, 2014 10:10 pm

Create Application folder on the C: directory

Hello,

I would like to create an installation file that creates a folder at the top level of the C: drive and puts some files in there. In searching the forum and Advanced Installer help files I can see how to specify a folder but not that one. In one thread, someone seemed to indicate having done just that. (1st post in this thread http://www.advancedinstaller.com/forums ... ory#p67871) I tried a couple different ways, using the free version and the error I get is "Could not access network location 'application' "

A little background. I am a mechanical engineer and not programmer, so please reply using a minimum of programming jargon. I have created an Excel file that I am selling. The license program used to protect it (another long story) requires files to be placed in a folder at the top level of the c: drive.

Is it possible to do this with the free or other versions of Advanced Installer?
Is this possible to do this with any msi creating software?
Would you simply recommend not doing this? My target customers range from small engineering firms to Fortune 500 companies, so the range of IT practices will be quite varied.

Thanks for any help.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create Application folder on the C: directory

Hello and welcome to Advanced Installer forums,

In order to achieve that, you can go in the Install Parameters page and create a public property
E.g.
Name: C_FOLDER_PATH
Value: C:\Custom Installation folder


Then, you can go in the Files and folders page and add a Property based folders using the [ New Folder ] -> "Property Based" toolbar button. From the new appeared window you can select the previos defined property.
Property based folders will be resolved at install time to the values from the respective property, so its value will be "C:\Custom Installation folder". In this folder you can add the related files.

You can also take a look on the Install files in a custom folder article which may be useful to you.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BertUschold
Posts: 3
Joined: Mon Mar 17, 2014 10:10 pm

Re: Create Application folder on the C: directory

Dan,

Thanks for the help. That did the job. Sorry that I missed the answer that was already there in the help files.

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

Re: Create Application folder on the C: directory

You're welcome Bert,

If there is anything else I can help with, please let me know.

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

Return to “Building Installers”