VMware Horizon Community
BrennanB
Contributor
Contributor

Issue creating entry point

I need to create a entry point so that users can directly access the C:\Program Files\Application folder inside the virtualized app so they can directly modify files that are par tof our application. The goal of the entry point is to be able to access the C:\Program Files\Application folder without having to launch the virtualized app.

I found some instructions (see link) but the entry for creating a Windows Explorer shortcut that launches Windows Explorer within your virtual application doesnt make sense. http://blogs.vmware.com/thinapp/2008/10/creating-window.html

For creating a Windows Explorer shortcut that launches Windows Explorer specifically within your virtual application, use the following in your PACKAGE.INI file.

[http://Windows Explorer (ThinApp).exe|http://Windows Explorer (ThinApp).exe]

Disabled=0

Shortcut=<PACKAGE SOURCE FILE>

Source=%ProgramFilesDir%\Internet Explorer\iexplore.exe

CommandLine=%ProgramFilesDir%\Internet Explorer\iexplore.exe -E ::{450D8FBA-AD25-11D0-98A8-0800361B1103}

Icon=C:\Windows\mydocs.dll,0

0 Kudos
3 Replies
doofkopf
Enthusiast
Enthusiast

You can try to set the Work Direktory of the CMD Shortkut in the Package bevor PostScan and make this as a link entry Point.

0 Kudos
admin
Immortal
Immortal

I don't quite understand what problem you have with the instructions on the blog. What you need to do is add a section like this to the end of your Package.ini file:

\[Windows Explorer (ThinApp).exe\]

Disabled=0

Shortcut=<PRIMARY DATA CONTAINER>

Source=%ProgramFilesDir%\Internet Explorer\iexplore.exe

CommandLine=%ProgramFilesDir%\Internet Explorer\iexplore.exe -E "%ProgramFilesDir%\Application"

Icon=C:\Windows\mydocs.dll,0

(The CommandLine= entry wraps on my screen, everything from CommandLine= to "%ProgramFilesDir%\Application" should be on one line).

Replace <PRIMARY DATA CONTAINER> by the name of your primary data container (just copy/paste the "Shortcut=" line from another section in your Package.ini), replace the "Application" part at the end of the CommandLine with the name of your virtual directory, then rebuild the package using build.bat. This should result in a file named "Windows Explorer (ThinApp).exe" in your bin directory, if you launch that you should get a window showing your virtual C:\Program Files\Application directory.

0 Kudos
Squidly_Man
VMware Employee
VMware Employee

1. Create a backup of your PACKAGE.INI.

2. Edit your PACKAGE.INI file.

3. Copy one of the existing Entry Point sections (for example CMD.EXE).

4. Paste the copied text at the bottom of your PACKAGE.INI (Make sure there's an extra empty line between any previous section and this new Entry Point section).

5. Rename this new Entry Point (from CMD.EXE) to your desired name.

6. Remove completely, remark out with a semicolon, or modify the DISABLED= line to read DISABLED=0.

EXAMPLE:

[[Your_App.exe]|http://Computer Management (ThinApp).exe]
Disabled=0
Shortcut=<PACKAGE SOURCE FILE>
Source=<SOURCE_PATH_AND_EXE>
CommandLine=<SOURCE_PATH_AND_EXE_PLUS_COMMAND_LINE_SWITCHES>
Icon=&lt;SOURCE_PATH_AND_EXE_OR_ICO&gt;,&lt;NUMBER_TO_ICON&gt;</span>

NOTE: If you wish to change the ICON, add an entry to the Entry Point section called "Icon= " (where the path/file, and numerical value refer to your icon). See the ThinApp Blog article "The PACKAGE.INI File Explained" ().

7. Rebuild your ThinApp Project by running BUILD.BAT.

8. Test the new Entry Point by executing the EXE file created.

-Dean F.

-Dean F. https://www.vmware.com/support/pubs/identitymanager-pubs.html
0 Kudos