Jump to content

gomboc

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by gomboc

  1. okay, I had to move my work laptop over to Window 8.1 so I can start testing on Hyper-V 5.0 this week. There were no changes in the script for Power Draw but now I'm getting Error 1203 while running this script on a VM as well as my Windows 8 box... any thoughts? This same script worked like a charm on Windows 7 machine. The VM is W7 also
  2. 2nd file is the pd_jw_cp3.1.exe the intial .exe that needs to get installed is the pd_core_160 which installed fine.
  3. So I have two different .exe installs one after the other and I can't find the swtiches for the 2nd one. Below is my current script that silent installs the main one but of course can't find the switches for the 2nd so help is needed. Universal silent switch finder can't find it either. @ECHO OFF & CLS::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::TITLE Install EXE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Purpose: Installation of Power Draw v3.1:: Version: 1.2:: Author: Norbert Saska:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Set script parent directory:SET _ScriptDir=%~dp0SET _ScriptDir=%_ScriptDir:~0,-1%:: Run OS architecture check:IF DEFINED PROGRAMFILES(X86) ( SET _OSArch=x64) ELSE ( SET _OSArch=x86):: Display status message:ECHO.ECHO Installing Power Draw...:: Run commands:START "Install" /WAIT "%_ScriptDir%\SRC\x86\pd_core_160.exe" /s /v"/qb /QUIET /NORESTART:: Display return code and set exit code:ECHO. & ECHO Return Code: %ERRORLEVEL% & SET "_EXITCODE=%ERRORLEVEL%":: Display completion notice:ECHO.ECHO Done!:: Delay for processing:PING 127.0.0.1 -n 3 > NUL:: Pause to view results::: ECHO.:: PAUSEEXIT %_EXITCODE%
  4. Hi All, new to scripting and this site was recommended as a great source for help! I'm currently in the Oil & Gas Ind Help Desk role but looking to get into development down the road. I've been tasked to handle installation of some of our .exe and msi packages into MS SCCM I'm going to create some posts with help I will need so please give me as much info as you can so I can learn. God Bless
×
×
  • Create New...