Re: Program that requires drive letter fails



I have not seen a failure if you do not choose the download/run AND run from
mapped drive (allowing SMS to choose drive letter). You may want to look at
the execmgr.log file for more clues...

"William Fourqurean" <wfour@xxxxxxxxxxxxxxxx> wrote in message
news:16B4C73C-483C-41FE-A078-DDA237478B92@xxxxxxxxxxxxxxxx
The program always fails if I select the Requires Drive letter option. I
gave the other information to explain why I was using this option. I have
tested both running from the distribution point and downloading before
running, and if Requires Drive Letter, or the other selection where you
specify a drive letter is chosen, it fails. Only when it is set to Run
with
UNC name does it execute the program.

In case this helps, the "program" is actually a command script
(scriptname.cmd) that does several things in addtion to running a
setup.exe
program to install the application. I have not tested by making the
"program" a .exe file to see if it cares what kind of program that it is.
I
can run the .cmd scripts using the Run with UNC name option, so it seems
like
they should run if I select the Requires Drive Letter option.

"Steve Thompson" wrote:

"William Fourqurean" <wfour@xxxxxxxxxxxxxxxx> wrote in message
news:E9A3816B-F6C3-4E31-BDA8-60299C1D6BFB@xxxxxxxxxxxxxxxx
If I create a package and a program, on the Environment tab of the
program
properties there is a section called Drive Mode. The default is Run
with
UNC
name. If I change this to Requires drive letter, the program fails. I
don't
have the exact error message, but it is "Access denied" or something
similar.
I have tried checking the Advanced Client Network Access Account, but
this
doesn't seem to be the problem.

This stems from a problem where when you create an advertisement, there
is
an Advanced Client option for "Download program from distribution
point".
I
want to use this feature, but sometimes administrators don't follow
directions closely and they leave this setting at the default of "Run
program
from distribution point." My program will fail under that circumstance
because it will not run correctly from a UNC path. So, my intention
was
to
try to map a drive letter so that it would run correctly whether it was
downloaded first or not, but the drive mapping option is not working,
either.

If you look at the status message for the failure, download/execute AND
mapped drive options are incompatible settings. You can use UNC (run from
DP) and a mapped drive option.

Steve





.



Relevant Pages

  • Re: Persisting a Network share drive to a letter
    ... That was a pretty powerful wakeup call to use UNC names instead. ... Open Windows Explorer and navigate to the network location. ... It should persist the connection. ... When i login to the app server box and create a drive letter X: ...
    (microsoft.public.windows.server.networking)
  • Re: Program that requires drive letter fails
    ... If I change this to Requires drive letter, the program fails. ... because it will not run correctly from a UNC path. ... mapped drive options are incompatible settings. ...
    (microsoft.public.sms.admin)
  • Linked table manager looking at the wrong location
    ... On a FE/BE Access 2007 database the IT team asked me not to use a mapped ... drive letter but the server name and path when linking tables. ... UNC they show Z: as the drive location. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: UNC versus drive letter performance
    ... opening a file _sometimes_ takes way longer then it should, ... > Accessing files through a local drive letter ... > Accessing the same files through a UNC share. ... > other implies that UNC is relatively close to drive letter performance, ...
    (microsoft.public.win32.programmer.networks)
  • MapNetworkDrive causes hang
    ... l return error 53 "The network path was not found". ... The function works as expected if you do not typo or otherwise munge the UNC, and it always works against a different file server. ... function MapDrive(strFreeDrive, objNetwork, strUNC, strCredUser, strCredPass) ... ' Returns the mapped drive letter on success and blank/empty on failure ...
    (microsoft.public.scripting.vbscript)

Loading