+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Run Program - powershell.exe issue

  1. #11

    Default 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

  2. #12
    Join Date
    Mar 2004
    Posts
    4,307

    Default 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
    Attached Images Attached Images  

  3. #13

    Default 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

  4. #14
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Run Program - powershell.exe issue

    Hi Kurt,

    perfect!!! Thanks for the update.

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •