Home Forums ActiveX components Xceed Zip for ActiveX & x64 How to create a self extract program which execute different executable on different platform?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #42498 |

    I have two different setup files for x86 and x64.

    I’d like to create only one executable with Xceed which includes both setup programs.  When the executable is executed on x86 system, it can invoke the x86 setup program after unzip and invoke x64 setup program if it’s on x64 system.  Is there anyway to do this?

    I added a dos batch file, which will determine system property then invoke the invoke the corresponding setup program.  I set the batch file as SfxExecuteAfter, but it didn’t work.

    Could you let me know if there is anyway to achieve this?  Thank you.

    Imported from legacy forums. Posted by Java (had 477 views)

    Diane [Xceed]
    Post count: 1353

    Hi Java,

    The Sfx binary modules do not support this, but using a batch file with SfxExecuteAfter should work.

    For example, you could use the following value for the SfxExecuteAfter property:

      cmd.exe|/c IF “%%ProgramFiles(x86)%%XXX”==”XXX” (SetupX86.exe) ELSE (SetupX64.exe)

    Imported from legacy forums. Posted by Diane [Xceed] (had 1061 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.