Browse for File Not working - Advanced Installer Community
skingswell
Posts: 29
Joined: Tue Nov 29, 2016 2:24 pm

Browse for File Not working

I have followed the article http://www.advancedinstaller.com/user-g ... -file.html but the file open dialog does not display when I click on the browse button. I find that reversing the order of the published events does allow me to select a file but the file is not copied into the application folder. I have followed the article word for word and just cannot get this working. Frustrating...... :-( Any ideas?
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Browse for File Not working

Hello,

We are not sure why you encounter this behaviour. Please make sure you have correctly configured the Custom Action that copies the file. Please take a look on the way the sample project from the article is configured.

If this was not helpful, please send us the the .AIP (project) and to support at advancedinstaller dot com so we can investigate it.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
skingswell
Posts: 29
Joined: Tue Nov 29, 2016 2:24 pm

Re: Browse for File Not working

Sorin, thanks for your reply.

I have looked at the sample project but still cannot figure out what is wrong.

I have created another test project and now the browse button is working but the file copy isn't still.

I am going to email the project to the support team as I am sure this is something very silly. I have been looking at this for too long now and just cannot see what I am doing wrong.

Many thanks
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Browse for File Not working

Hello,

Please note that your project doesn't contain a custom action that copies the file. The file copy could be done by a "Launch EXE with working directory" custom action. Please take a look on the attached screenshot that describes the way this custom action should be configured. CMD.exe will be launched with "/C COPY /Y "[THE_LICENSE]" "[APPDIR]" " command.

Best regards,
Sorin
Attachments
screenshot.jpg
screenshot.jpg (117.58 KiB) Viewed 2910 times
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”