Creating shortcut (newbie)

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hello Guru's!!!! :-)

I got a basic question (hopefully). I created an installation program with
windows installer(2.0), the purpose of this deployer is to install some
dll's and ocx's into the client PC. The program will only install ocx/dll's,
but I also need it to be able to create a shortcut on the clients (All users
folder) PC that points at an exe on the server. Every time I include this
shortcut it always copies the exe from the server and includes it in the
msi, when installing it installs the exe on the client. Is there's a way of
creating this shortcut without copying the actual exe? I have also tried
with ORCA, but I haven't been able to get it to work. my shortcut should
look something like this

\\SERVER\GROUP_DIR\FOLDER\APP.EXE

Thanks in advance

Alex
 
Solution:

1. Create the Shortcurt you want to include and rename it to
shortcutname.link (dos-box, cmd)

2. Include it to the Package and tell the installer to rename it to
'shortcutname.lnk'

This still works fine for me.

NOTE: This only works if the App will be installed in the same and fix path
as on your Dev-Machine. I´ve created a dummy folder under
c:\programs\apppath, put an exe file with the name of the original one there
and created the link then.

Mike
 
Back
Top