rdefino
asked on
Unable to get an exe file to run from the vmware esxi 4.1 custom specs
I have a 2008 template setup in a ESXi 4.1 enviorment to use a custom spec. In this custom spec I'm am try to run an excutable:
AexNSC.exe -s -a ns="altiris7.global.compan yname.com" nsweb="https://altiris7.global.companyname.com/altiris" -nostartmenu /s
Now if I run this manual in the vm it runs fine, but I just cannot get it to be run from the custom spec. I tried putting it in a .bat file and calling that and still the CS won't run it. I have been able to run other exacutables from the CS just fine.
I think it has something to do with teh EXE using the syntaxs.
any thoughts?
AexNSC.exe -s -a ns="altiris7.global.compan
Now if I run this manual in the vm it runs fine, but I just cannot get it to be run from the custom spec. I tried putting it in a .bat file and calling that and still the CS won't run it. I have been able to run other exacutables from the CS just fine.
I think it has something to do with teh EXE using the syntaxs.
any thoughts?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Now to run this command, do I just copy-paste in a dos prompt. I never used the power shell.
also, I still cannot locate the customization logs.
thanks
also, I still cannot locate the customization logs.
thanks
You create it in a file with a .ps1 extension -- then from customization enter command as
c:\path\to\command.ps1
Alternatively you can run from batch file - ps1 filetype should be associated with powershell
c:\path\to\command.ps1
Alternatively you can run from batch file - ps1 filetype should be associated with powershell
ASKER
Could you tell what C:\"Program Files"\test\AeXNSC.exe is doing? what is the C:\"Program Files"\test\ for?
that would just be replaced with the path to your copy of the exe - all parameters should be replaced with what you want. Point is only the part of the path with spaces should be quoted.
Good Luck