PDA

View Full Version : InstallScript StreamFileFromBinary caused the exe file damaged



EmilyXiang
11-30-2012, 05:10 AM
Hi ,

I created a basic MSI project, imported an EXE file to the binary table. During the installation, I used InstallScript StreamFileFromBinary function to copy the EXE file to the installation directory.

After the installation, I found the EXE file is copied to the target folder, the file size is same as the original one, but when I double click it to launch it, error occured. Please see below snapshot:

Is anyone can tell me this issue?