dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Issue with using BrowseForFile Custom Action

Hi,

I am using BrowseForFile custom. I followed the steps mentioned in the documentation and created the required UI. Now, when it is run on an x64 machine I get the below error after I click OK in the Browse dialog.
Screenshot.jpg
Screenshot.jpg (23.14 KiB) Viewed 12528 times
Any help appreciated.

Thanks in Advance,
Chandra
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Issue with using BrowseForFile Custom Action

Hi Chandra,

Can you please test your msi package on another operating system and see if the error appears.
Also, you can download BrowseForFile sample from our tutorial and check with your operating system.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Re: Issue with using BrowseForFile Custom Action

Hi Ciprian,

This error occurs on Windows Server 2008. Our MSI targets only Vista and above operating systems and it works on Windows 7. Haven't tested for Vista yet.

Is the sample different from what is given in the Help manual?

Thanks,
Chandra
dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Re: Issue with using BrowseForFile Custom Action

Hi Ciprian,

I tried running the sample on Windows Server 2008 OS. I got a series of errors as in below screenshots -

I ran through the steps of the installer wizard pages and clicked Install. This error comes during the progress (but in my case it comes immediately after browse)
Screenshot1.jpg
Screenshot1.jpg (57.96 KiB) Viewed 12513 times
The wizard finishes and when I click finish it opens the explorer window and task bar shows this error.
Screenshot2.jpg
Screenshot2.jpg (16.04 KiB) Viewed 12513 times
Now the below error popsup (on the Finish page of the installer) and when i click OK the finish page is still there. Then I click Finish, it opens explorer window again with the same error. Clicking OK repeats the same sequence and never ends (infinite loop). I have to kill process.
Screenshot3.jpg
Screenshot3.jpg (19.65 KiB) Viewed 12513 times
Thanks,
Chandra
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Issue with using BrowseForFile Custom Action

Hi Chandra,

It seems to be a mistake in our sample. Please change the settings of the UI custom action "OpenLicenceFolder" to "Asynchronous execution, do not wait for return" option located in Execution Properties.
Rebuild and test the package, the error message should not be present anymore.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Re: Issue with using BrowseForFile Custom Action

Hi Ciprian,

That resolved the last error (error on the Finish page). But, the error which comes after Browse functionality still comes up. Below is the sequence of errors I get. I am able to continue with the Installation and am able to see the license file getting copied. But, these errors give a bad user experience.

Error1 - Comes immediately after the Browse dialog is finished.
Screenshot_1.jpg
Screenshot_1.jpg (125.59 KiB) Viewed 12504 times
Error2 - When I choose "Close Program" in the previous error dialog task bar notification is shown.
Screenshot_2.jpg
Screenshot_2.jpg (123.76 KiB) Viewed 12504 times
Incase if I don't run the MSI as Administrator the following error comes up instead of Error1
Screenshot_0.jpg
Screenshot_0.jpg (23.73 KiB) Viewed 12504 times
Thanks,
Chandra
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Issue with using BrowseForFile Custom Action

Hi Chandra,

This error seems to be caused only on this particular machine. Please run our sample on a clean machine.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Re: Issue with using BrowseForFile Custom Action

Hi Ciprian,

I tried on another machine with Windows Server 2008 (64 bit) OS. The same error resulted. The same functionality is working on Windows 7 32 bit systems. We are yet to test on Windows 7 64 bit machines.

Please help me understand if there is anything specific for 64bit architecture that I have to do.

Thanks in Advance,
Chandra
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Issue with using BrowseForFile Custom Action

Hi Chandra,

Please send your msi package to support at advancedinstaller dot com. I recommand to archive the MSI package before sending the email. If it is too large please send an URL from where we can download the MSI.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Re: Issue with using BrowseForFile Custom Action

Hi Ciprian,

We are working on an Intellectual Property and cannot share the Installer. But, the same issue occurs with the BrowseForFile sample MSI as well. All you need to do is, build the installer (32-bit) for BrowseForFile sample and run it on a 64-bit machine with Windows 2008 Server OS. I am not sure if you have already tested this.

Hope there will be a resolution for this.

Thanks,
Chandra
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Issue with using BrowseForFile Custom Action

Hi Chandra,

We tested our sample in all Windows operating systems from different machines and is running without any problems.
I suggest to build our sample and send your MSI package.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dscsekhar
Posts: 11
Joined: Mon Jul 20, 2009 7:34 am

Re: Issue with using BrowseForFile Custom Action

Hi Ciprian,

Due to policy restrictions I cannot send out the MSI package through email. I have uploaded it to this post.
BrowseForFile.zip
(69.04 KiB) Downloaded 601 times
Password for the ZIP file -> passw0rd

Thanks,
Chandra
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Issue with using BrowseForFile Custom Action

Hi Chandra,

I just tested the MSI package that you provided in Windows Server 2008 and it is work fine. Please try the sample on another pc with Windows Server 2008 installed.
Are you using External UI option? If you use this option please make sure you are running the EXE setup built with Advanced Installer.

Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”