file display - 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!

sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

file display

Hi Support,

I have a .html file in the file and folder tab. I want to have a "Help" button on UI dialogs and display the .html file when the button is clicked. How can I do it using AI?


Regards
sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: file display

Hi Support,

Any Updates on this issue ??

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

Re: file display

Hi Sony,

You can try this approach:
- use the Dialog Editor to add the button to your installation dialogs
- add the HTML file as a temporary file
- create a Launch file or open URL UI custom action which launches the HTML
- use a DoAction control event to run the custom action when the button is pressed

Please note that this can be done only in an Enterprise project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: file display

Hi Cosmin,

Thank yo for your suggestions...

I have tried the steps that you have provided. When I clicked on the button it opens up in a browser with a following error message:

Firefox can't find the file at /C:/DOCUME~1/speruka/LOCALS~1/CentrumReturnsInstallHelp.htm?InstallingApplicationComponen3.html.

Regards
Sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: file display

Hi Cosmin,

Its an urgent issue.. Please help.

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

Re: file display

Hi Sony,

Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: file display

Hi Cosmin,

Please find the sample project(test1.zip) in the following attachment. In the .aip file, I have placed a "Help" button in the FolderDlg wizard. When the button is clicked, I want to open a InstallingApplicationComponen3.html file in the browser.

I look forward to hear back from you soon.

Regards
Sony
Attachments
test1.zip
(151.34 KiB) Downloaded 481 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: file display

Hi Sony,

The problem seems to be caused by the HTML you are using. We tried using other HTML files and they worked. Is your HTML opened correctly in your Internet browser when double-clicking it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: file display

Hi Cosmin,

I have a folder of html files that I am trying to open from AI.. I would like to send that folder to you, so that you can try it at your end. Could you please let me know the way of sending the folder. I am neither able to upload the folder nor send to to the support at advanceinstaller dot com, since the size of folder is big.. Let me know the other way of sending the files...

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

Re: file display

Hi Sony,

We don't need the folder. A launch file or open URL custom action opens the HTML file using ShellExecute, so it's like double-clicking the HTML. If the HTML works correctly when double-clicked in Windows Explorer, it should also work in your installer. Did you try using other HTML files?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: file display

Hi Cosmin,

Thank you for your suggestions.

I am able to launch the html file successfully. There was an issue in the file structure of the html files at my end . The issue is resolved now.

Thanks alot for your help :D

Regards
Sony

Return to “Common Problems”