Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Syntax

$
0
0
Hi,

New to this, so this could be a really easy answer. I'm looking at deploying AutoCAD using the deployment toolkit. I've tried to use this argument

Execute-Process Install -Path "$dirFiles\IMG\Setup.exe" -Parameters '/W /qb /I Img\setup.ini' -WindowStyle Normal

but am getting the error below
[12-23-2014 12:37:57.642] [Installation] [Execute-Process] :: Function failed, setting exit code to [999].

Error Record:

Message : Exception calling "Start" with "0" argument(s): "The directory name is invalid"
InnerException : System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid
                at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
                at CallSite.Target(Closure , CallSite , Object )
FullyQualifiedErrorId : Win32Exception
ScriptStackTrace : at Execute-Process<Process>, C:\Users\John.R.Taylor\Desktop\AutoCAD 2015 x64\AppDeployToolkit\AppDeployToolkitMain.ps1: line 2263
                    at <ScriptBlock>, C:\Users\John.R.Taylor\Desktop\AutoCAD 2015 x64\Deploy-Application.ps1: line 119
PositionMessage : At C:\Users\John.R.Taylor\Desktop\AutoCAD 2015 x64\AppDeployToolkit\AppDeployToolkitMain.ps1:2263 char:5
              +                 [boolean]$processStarted = $process.Start()
              +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error Inner Exception(s):

Message : The directory name is invalid
InnerException :

Just wondering if someone can point me in the correct direction?

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images