Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Advertising shortcuts for network apps


2 replies to this topic

Bryan_73

Bryan_73
  • Members
  • 2 posts

Posted 09 September 2002 - 21:50

Hi everyone, using AdminStudio 3.5 and building an MSI for a network app. Need to know how to advertise a shortcut whose target is on a network drive. The target is an executable on the Q: drive (in our environment). I can create a shortcut to the .exe file, but need it advertised.

I try to select "advertised" when creating the shortcut, but then it defaults to the "ShortcutsComponent" component, which has no key file. If I select the executable as the key file, it adds the 1.1mb file to my package, which i don't want.

Any idea how I can advertise these shortcuts? Thanks.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 September 2002 - 11:42

I believe that Windows Installer can only created advertised shortcuts to files that are included in the install.

The official solution:
You could place your setup on the Q drive and run it from there. Select "run from source" option and the file will not be copied to the local machine, but accessed from the Q drive.

A hack:
Add a dummy file with that name to your setup, make sure the destination is the Q drive, and create an advertised shortcut to that file. Select "never overewrite" to make sure the dummy file won't overwrite the real file on Q.

Bryan_73

Bryan_73
  • Members
  • 2 posts

Posted 10 September 2002 - 15:51

Stefan, thank you for the help. I'll try both methods.