JustinParticipantNovember 7, 2017 at 1:41 pmPost count: 1
So I have done this many times before, installing an exe with an iss answer file. But this time I have been trying to get this to work but it doesnt seem to be working.
Execute-process -Path "$dirfiles\setup.exe" -parameters "/s /f1$dirfiles\install_cp1.iss"
This will work on win10, but not any of my win7 x86/x64 machines, it just hangs on this command. I do see the app install on the machine, but setup.exe never ends/finishes so it doesnt move on to the next step. The logs just show it running the execute-process.
If I try to install the setup.exe with the iss normally from a cmd prompt, works just fine so I know the software works on all the versions of windows I am trying. Any idea what I can do to test it? Im on 3.6.9.
MattParticipantNovember 8, 2017 at 9:39 pmPost count: 11
MartureoParticipantNovember 15, 2017 at 8:34 pmPost count: 5
Not sure what the specifics are but here are a few random possibilities …
1. make sure source EXE is local and test the installation via CMD.EXE (elevated permissions)
2. The vendors media could be the culprit and does NOT support it
3. If it works on Windows 10 but NOT 7 then it must be the .Net Framework or the PS version you have installed needs updated on your windows 7 system.
4. If there is a license involved you may have reached your limit and need to Deactivate from your Win10 machine first
Hope that helps.
NickParticipantNovember 20, 2017 at 7:58 pmPost count: 4
You can also use other parameters if if the EXE has an embedded MSI. I would recommend putting a path with a space in a variable.
Execute-process -Path “$dirFiles\setup.exe” -parameters “/s /f1$dirFiles\setup.iss” -WaitForMsiExec -WindowStyle Hidden -IgnoreExitCodes “3010” -ContinueOnError $true
- This reply was modified 10 months ago by Nick.
You must be logged in to reply to this topic.