Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

App works from published desktop but not as published app

Status
Not open for further replies.

timnorvel

MIS
Dec 30, 2003
1
US
I have a client/server application that was written to be used in a "normal" network environment. Each client must have the same mapped drive to a location on a server. All of the applications' system and .ini files are on that share. When I publish a desktop and run this app from there everything is fine. But when I attempt to publish the application and launch it through NFuse or PNAgent I get an error that it can't find the path to the system files. It appears that it needs the shell to be running to work out it's path's, which it stores in the following registry key... HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/AppPaths/

It seems that the mapped drive that leads to these files is not mapped before the app needs it.?. Any ideas on tweaks I can make to my system to get this app to work as a published app?

Thanks,
Tim
 
We had to login the the server with each of the user's id's and manually map the drives from with in, once we did that everythign worked fine.

"There are no stupid questions, But there are A LOT of inquisitive idiots."
 
kixstart works very well for this. You can put statements in such as "if member of" and then specify user groups and have it map a drive at logon. Kixstart is in the windows resource kit. Can send you a sample if you need help.
kifland@centralnational.com
 
Hi Tim,

A login script is an solution, but it might be a great idea to publish a batch files, as published application. In that batch file you write this:

@echo off

net use <drive>: \\appserver\<appdir>

start <drive>:\program files\<applicationdir>\application.exe (one line)

exit

I hope this might resolve your challenge

BK
 
How do you get the cmd to close when it starts the app? The only way it closes for me is when I close the app that the batch script opened.
 
Start /b App.Exe

Should do what you want!

Cheers,
Carl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top