I was wondering if it is possible to have a MSI create shortcuts which point to a network resource?

And if it is possible, do the executables which the shortcuts point to have to exist in some form in the MSI?

The situation I find myself in is that I am creating shortcuts for another network (which I do not have access to), however I can duplicate it by creating the folder structure on one of the servers on our lan.

Is this a MSI 'no-no' ?

Otherwise I will use custom action scripts (vbscript).

Thanks for your consideration!

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


You will have to use the latter (vbscript)
Answered 11/13/2007 by: AngelD
Red Belt

Please log in to comment
I have had to do this quite a few times and what I end up doing is mapping a drive to the network resource, creating a shortcut to the resource then once I have the shortcut file *.LNK I create a batch file which calls my MSI and afterwards using XCOPY copies the shortcut to the location I want i.e ALL USERS/Start Menu/Programs

Has worked well for me if you don't mind calling your MSI via a batch file which in most cases works great.
Answered 11/14/2007 by: Coriolus
Orange Belt

Please log in to comment
This is how we did that. (long time ago) Ok, here it is:
You need a folder to add the lnk to on C:, so maybe something like C:\Program Files\Shortcuts or something like that.
I.e. You need to create a shortcut to:

1.make a folder to act like a network share and share this folder.
Create a folder named test in C:\ and share this folder.
2. Then connect the correct drive letter to this share.My machine name is workstation:
Drive letter X: connect to \\workstation\test
3. Go to X:\ and create the folder Data
4. To fake the main executable there are more options.
- copy an existing executable and rename it to the correct filename.
- create an empty text document and rename it.
5. go to the C:\program files\shortcuts folder (in this case) and create the shortcut.
6. Check the properties of the shortcut and modify if necessarry.
7. Add the folder C:\program files\shortcuts to wise
8. Create 'advertised' shortcut in wise.
9. Save, test.

Just to give you an idea.

Answered 11/14/2007 by: gizsha
Purple Belt

Please log in to comment
jeeee, what's up with these fonts.
Answered 11/14/2007 by: gizsha
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity