Re: Run Program - powershell.exe issue
The 32-bit program vs 64-bit may be the factor. This is running on a 64-bit system. This brings up more questions:
1) How do you tell which mode the command prompt is running in?
2) Can you tell me which mode (32 vs 64) that the batch file will run in when executed from Setup builder?
3) If that's not the same as running it from the command prompt in Windows, how do I initiate it so that it's the same?
Thanks,
Kurt
1 Attachment(s)
Re: Run Program - powershell.exe issue
Hi Kurt,
if you run a command line interpreter from an application that is running in x86 mode (32-bit processing) then the 32-bit interpreter is executed. In SetupBuilder, you can use the "Set x64 mode..." script function to switch the setup application (at runtime) into 64-bit processing mode. See attached screenshot. After doing this, the setup will execute the 64-bit interpreter. Don't forget to disable x64 mode!
Does this help?
Friedrich
Re: Run Program - powershell.exe issue
Hi Friedrich,
It was the difference between running the 32-bit vs 64-bit command prompt that was the issue. That was what I needed to know.
Thank you!,
Kurt
Re: Run Program - powershell.exe issue
Hi Kurt,
perfect!!! Thanks for the update.
Friedrich