VMware Horizon Community
IDSjbh
Contributor
Contributor
Jump to solution

Delete Shortcuts from Desktop

How can I delete the shortcuts that are created from a ThinApp on an existing capture without having to re-capture?

I've tried deleting the shortcut file from the %Desktop% directory, running sbmerge.exe apply from the captured app's directory, then running build.bat


I also tried, installing the MSI to the ThinApp capture box, deleting the shortcut from the desktop, then running sbmerge.exe apply, then build.bat.  Neither have gotten rid of the desktop icon.

I'm pushing out the app using VMware View to a desktop pool using the Streaming method.

Reply
0 Kudos
1 Solution

Accepted Solutions
Lakshman
Champion
Champion
Jump to solution

Open Package.ini, look for “Shortcuts=” for the main EXE under Application-Specific Parameters section and remove “%Desktop%”

For example,

Source=%ProgramFilesDir%\MainApp\MainApp.exe

ReadOnlyData=bin\Package.ro.tvr

WorkingDirectory=%ProgramFilesDir%\MainApp

Shortcuts=%Programs%\MainApp;%Desktop%

Change the last line to

Shortcuts=%Programs%\MainApp

Now, rebuild the ThinApp by running build.bat again. This should not create shortcut on the desktop.

Thanks

Lakshman

View solution in original post

Reply
0 Kudos
2 Replies
Lakshman
Champion
Champion
Jump to solution

Open Package.ini, look for “Shortcuts=” for the main EXE under Application-Specific Parameters section and remove “%Desktop%”

For example,

Source=%ProgramFilesDir%\MainApp\MainApp.exe

ReadOnlyData=bin\Package.ro.tvr

WorkingDirectory=%ProgramFilesDir%\MainApp

Shortcuts=%Programs%\MainApp;%Desktop%

Change the last line to

Shortcuts=%Programs%\MainApp

Now, rebuild the ThinApp by running build.bat again. This should not create shortcut on the desktop.

Thanks

Lakshman

Reply
0 Kudos
shrivastavaa
Enthusiast
Enthusiast
Jump to solution

Another option if you want to disable it permanently; is to simply add "Disable=1" in each shortcut entry, as you see in regedit and cmd entries. Rebuild it after the changes.

Reply
0 Kudos