Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement

What is the best way to publish an app that requires a mapped drive???, in the Application Installation & Compatibility forum on BrianMadden.com

rated by 0 users
This post has 4 Replies | 2 Followers

Top 100 Contributor
Points 1,915
Jack Johnson Posted: Sun, Jun 28 2009 10:47 AM

I am wondering what the best way will be to publish an accounting app called MAS90. It uses a mapped drive to the server which the has the actual app and DB installed on it. I want to install it on a CPS 4.0 server and then publish it so that users can access it via the Web Interface. I have published several apps before, but never one that requires a mapped drive.

Do I need to put the accounting users into an OU that will have a new logon script run that maps the drive? Or is there an easier way? I really don't want to have to move users out of there current OUs and create a logon script if I don't need to. Thanks.

 

  • | Post Points: 20
Top 500 Contributor
Points 763

Hello,

You can do this a few different ways.

But i think the easiest way to do this is with a simple .bat file.

I am going to make a few assumptions but you will get the idea.

 

example:

 

Call the bat file runmas90.bat and save it in c:\scripts

____________________________

net use s: /delete >null

net use s: \\servername\sharename

"c:\programs files\MAS\MAS90.exe"

 

______________________________

 

modify the properties of the bat file to run minimized.

 

Publish the Bat file like you would any other application and give it the same name and icon of the actual app.

 

When the user clicks on the icon it will run the bat file mapping your drives and then run the actual .exe file

 

Depending on the app you may need to do a call or something of the sort but you get the idea just run everything though a batch file and you should be set.

 

Jon

 

 

  • | Post Points: 35
Top 25 Contributor
Points 7,839

Is the mapped drive going to be the same for everyone, or can it be their home drive?

  • | Post Points: 20
Top 100 Contributor
Points 1,915

thanks I will try that.

  • | Post Points: 5
Top 100 Contributor
Points 1,915

It will be the same for everyone. Thanks.

  • | Post Points: 5
Page 1 of 1 (5 items) | RSS