Re: Windows Installer Custom Action cannot do xcopy?
- From: Dave <djohannsen2@xxxxxxxxx>
- Date: Mon, 10 Dec 2007 11:29:35 -0800 (PST)
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
.
- References:
- Prev by Date: Re: C# Enums - Feature or deficiency
- Next by Date: It it possible to redirect events?
- Previous by thread: Windows Installer Custom Action cannot do xcopy?
- Next by thread: Getting Internet Explorer Security Settings
- Index(es):
Relevant Pages
|