cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
purushothamkama
Level 2

execute exe using installscript

I am trying to read whether an exe that we had deployed and is running on a client machine is 32bit or 64bit exe. To do this i am planning to write a PE header application. I want to be able to run the pe header exe during install, read in the deployed exe and generate a text file output that i can then read and get the necessary information from it. I was planning to do this using isntallscript

I read thru the threads and didnt find a way to do this.
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

Yes, you can launch executables with LaunchApplication and the like, though there's not a simple way to capture text output (number return codes are fine). A batch file might be appropriate in that case.

However, if you're writing the code yourself, perhaps packaging it as a DLL might be more useful, where your InstallScript code can pass variables back and forth to capture the information you want...
0 Kudos