/build/static/layout/Breadcrumb_cap_w.png

shortcut to network resource in package

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!

Mark

0 Comments   [ + ] Show comments

Answers (4)

Posted by: AngelD 16 years ago
Red Belt
0
You will have to use the latter (vbscript)
Posted by: Coriolus 16 years ago
Orange Belt
0
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.
Posted by: gizsha 16 years ago
Purple Belt
0
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:
X:\Data\test.exe

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.

~Gizsha
Posted by: gizsha 16 years ago
Purple Belt
0
jeeee, what's up with these fonts.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ