/build/static/layout/Breadcrumb_cap_w.png

Network icon with working directory

Hi,
We've created a "default_ user.msi" that sets reg keys etc for the default user.
They have their home dir "h:" under "my documents" but also a network share g: with certain apps. I want to create icons in the default_user.msi - (using wise) that can run these apps. Simple enough i thought in the "create icon" tab except setting "working directory" option which is a drop down box and doesn't list network options.
Any advise would be great -
cheers

0 Comments   [ + ] Show comments

Answers (4)

Posted by: craig16229 20 years ago
Third Degree Brown Belt
0
What I do in this situation is create a new PUBLIC property, and set its value to the path of the desired shortcut. Then I use the name of that PUBLIC property in the WrkDir column of the shortcut table. Doing it in this way also prevents Wise from adding an unwanted "\" to the end of the path of the shortcut key.

Craig --<>.
Posted by: WiseUser 20 years ago
Fourth Degree Brown Belt
0
Why are you setting registry keys for the "default" user? One of the best features of MSI is the ability to populate HKCU keys at application runtime!

Although creating a non-advertised shortcut to a non-local application, deprives you of your most obvious MSI entry point.

I would create an advertised shortcut to a local vbscript that would check the g-drive mapping, check for the existence of the application on the server, and then start the application. Assuming your

Are you installing these shortcuts per-user, or per-machine? If you have roaming profiles, and you install the shortcuts per-user, the script would have to be in a "roaming" folder (maybe "application data").
Posted by: craig16229 20 years ago
Third Degree Brown Belt
0
WiseUser,

Maybe I shouldn't post so late at night :-) My eyes skipped right to the part about the shortcut.

exup - WiseUser's advice makes more sense, and is definitely where you should start.


Craig --<>.
Posted by: exup 20 years ago
Senior Yellow Belt
0
Thanks wiseuser and Craig for the advise. Sorry i've lead you a little astray with mentioning reg key entries in the msi - not in there at all. (just default folders etc) i'm using the wkdir method and thats working well- sorry no knowledge of vbscripting..
Cheers
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