Newbie to batch scripting and power shell so I was asked to join your community to further develop my self I'm self thought and paying for it all my self. Live and work in Frierson, Louisiana and working for a mid size Oil & Gas companies IT dept. Looking to better and further develop my self since the normal IT HelpDesk title will soon disappear.
Task at hand, I'm looking to create a script to do a silent install an exe file but USSF is not able to help since it's C++ wrapped. Error: The header returned by PEiD was 'Nothing found [Overlay]'
Some general guidance would be greatly be appreciated. I've created some other scripts which worked like a charm but those were MSI packages so this is my first go around with exe type.
Cheers
NS
Greetings from Cajun land
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Greetings from Cajun land
Hi - welcome to ScriptingAnswers.
Unfortunately C++ is not PowerShell or any other scripting language.
If you are writing installer code you will need to post questions in a developer forum for the development tools you are using.
MSI is not a script. It is an installer file/database. We do not support MSI here either.
Unfortunately C++ is not PowerShell or any other scripting language.
If you are writing installer code you will need to post questions in a developer forum for the development tools you are using.
MSI is not a script. It is an installer file/database. We do not support MSI here either.
Re: Greetings from Cajun land
may have worded things wrong I think. I'm looking for help with a batch script. Right or wrong section?
Re: Greetings from Cajun land
:: Set script parent directory:
SET _ScriptDir=%~dp0
SET _ScriptDir=%_ScriptDir:~0,-1%
:: Display status message:
ECHO.
ECHO Installing Warrior now...
:: Run commands:
START "Install" /WAIT "%_ScriptDir%\SRC\x86\setup_ch_V7_2013_10_02001" /QUIET /RESTART
:: 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.
:: PAUSE
EXIT %_EXITCODE%
installation starts, then closes with error code -1073740791
SET _ScriptDir=%~dp0
SET _ScriptDir=%_ScriptDir:~0,-1%
:: Display status message:
ECHO.
ECHO Installing Warrior now...
:: Run commands:
START "Install" /WAIT "%_ScriptDir%\SRC\x86\setup_ch_V7_2013_10_02001" /QUIET /RESTART
:: 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.
:: PAUSE
EXIT %_EXITCODE%
installation starts, then closes with error code -1073740791
Re: Greetings from Cajun land
how would I enable Install logging in my script? would that help me? I've emailed the Vendor and he stated:
That error code (Access Violation 0xC0000005) is coming back from InstallShield so I asked them about it. I will let you know if I hear anything.
That error code (Access Violation 0xC0000005) is coming back from InstallShield so I asked them about it. I will let you know if I hear anything.
Re: Greetings from Cajun land
Again you are asking a question about a custom installer and not about a script. You need to ask the vendor these questions as they are the ones who created the installer package.nsaska wrote:how would I enable Install logging in my script? would that help me? I've emailed the Vendor and he stated:
That error code (Access Violation 0xC0000005) is coming back from InstallShield so I asked them about it. I will let you know if I hear anything.