Re: Windows Installer Custom Action cannot do xcopy?

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Dec 10, 10:33 am, Dave <djohanns...@xxxxxxxxx> wrote:
I'm trying to do the following xcopy from my Windows installer and it
doesn't work. I even tried running the installer as user with
credentials instead of LocalService. I'm running in 2003Server, so
its not a vista issue.

Any ideas why i cannot do this xcopy from my installer, yet it works
fine from console program?

Process kafInstallProcess = new Process();

kafInstallProcess.StartInfo.RedirectStandardError = true;
kafInstallProcess.StartInfo.UseShellExecute = false;
kafInstallProcess.StartInfo.RedirectStandardOutput = true;
kafInstallProcess.StartInfo.FileName = @"xcopy";
kafInstallProcess.StartInfo.Arguments = "/Y \"C:\\Downloads\\KAF1.2\
\KAF\\*.*\" \"C:\\Program Files\\KAF\\bin\"";

kafInstallProcess.Start();

thanks for any help!

dave

One small addendum is, I'm forced to do the xcopy as I'm actually
running a third party batch file from the installer - which contains
xcopy's. i isolated the xcopy to narrow the focus of the issue at
hand.

I cannot figure this thing out.

thanks, dave
.



Relevant Pages

  • Re: xcopy deployment
    ... aren't going to be xcopy installs anyway. ... Definitive Guide to Windows Installer ... looking into the possibly of using an xcopy deployment. ... can find very little information about the major disadvantages of this ...
    (microsoft.public.dotnet.general)
  • Windows Installer Custom Action cannot do xcopy?
    ... I'm trying to do the following xcopy from my Windows installer and it ... credentials instead of LocalService. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Why Troll? Was Re: Petition To Change CSMA Name
    ... use Windows, knowing that people like them are its advocates? ... For over 20 years Apple used entirely different processors from IBM ... I installed Vista on my Apple Intel PC today, wiping out all that OS X ... The Vista Installer began. ...
    (comp.sys.mac.advocacy)
  • Re: Vista, UAC, ceappmgr and custom installers
    ... Vista would prevent our application from allowing users to drag'n'drop ... from ceappmgr on a Window 2000 or XP machine, ... have to disable UAC in order to run my installer. ... The custom C++ installer then kicks off ...
    (microsoft.public.pocketpc.developer)
  • Re: Vista, UAC, ceappmgr and custom installers
    ... Vista would prevent our application from allowing users to drag'n'drop ... from ceappmgr on a Window 2000 or XP machine, ... have to disable UAC in order to run my installer. ... When the MSI installer ...
    (microsoft.public.pocketpc.developer)