/build/static/layout/Breadcrumb_cap_w.png

mapped drive

hi!

i have application wich needs mapped drive, so how could i make my mst, that package will install without asking that drive?

0 Comments   [ + ] Show comments

Answers (6)

Posted by: anonymous_9363 14 years ago
Red Belt
0
What do you mean by "asking for that drive?"

Could you not create the mapping in script, using NET USE x: \\SERVER\SHARE or, better, in VBS using the MapNetworkDrive method of the WScript.Network object.
Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
i create for the shortcut target dir and working dir mapped drive L:, so when package is instaling if maped drive L: exist then installing without problems, but if i take away that drive, it is saying mssing L: drive, so how can i create that instals whithout that L: drive too?
Posted by: anonymous_9363 14 years ago
Red Belt
0
Ah...OK.

The normal work-around for that is to use a property for the Working Directory entry and assign the complete path to the property's value.
Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
could you please attach some example, because i`m not still good in new sings, wich i did not do yet
Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
ok i figured out by my self, i needed to delete some direct table property :)
Posted by: anonymous_9363 14 years ago
Red Belt
0
Let's assume the Working Directory you want to set is L:\Apps\ThisApp

- Create a property called, say SHORTCUT_WORKING_DIR
- Assign it the value L:\Apps\ThisApp
- Go to the Shortcut table
- Locate the row containing the shortcut you want to change
- In that row's WorkDir column, enter [SHORTCUT_WORKING_DIR], remembering to include the surrounding square brackets
- Compile
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