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!

schlote
Posts: 1
Joined: Wed Mar 22, 2006 5:01 pm

Read Registry Value to use in Shortcut

I am creating an install for a web application that is run in Internet Explorer. The shortcut launches the app in Internet Explorer as follows: [IE5PATH]IExplore.exe -k APPDIR\Project_Root\default.htm

-- IE5PATH is the read registry value of the path to Internet Explorer:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IE Setup\Setup\Path

-- The -k is a command line switch that enables Internet Explorer in full screen mode.

-- APPDIR\Project_Root\default.htm is the path to the application.


How do I establish this IE5PATH property and then create the shortcut as presented above?

Any help is appreciated.


Matt
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Matt,

Here is how this can be achieved:

- Schedule a registry search for the path "Path" entry. Advanced Installer comes with a wizard that will allow you to set up this search in notime. Modify the name of the search property to IE5PATH.

- Now go to the "Files and Folders" page and use the wizard to create a new shortcut to an external file. As the target for the shortcut enter "[IE5PATH]\IEXPLORE.EXE" (without the quotes). In the arguments filed enter "-k [APPDIR]Project_Root\default.htm"(without quotes).

Please let me know if you encounter any problems.

Best regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”