Hi,
I have created an exe that contains msi and some configuration files using 7 zip.
This works fine on most OS as far as I can tell but when we brought this to our customer site, it failed to launch our msi file.
I ran procmon and noticed that msiexec was looking for msi file in C:\ instead of temp folder that 7 zip created to extract msi and configuration files.
FYI, I tried to run 7 zip program to extract installer exe and I was able to extract them without any issue.
I tried to figure out why this happened but I could not and the issue is that I cannot reproduce this strange behavior locally.
Has anyone seen this behavior before? If you have any insight/suggestion, please let me know. Thanks.
FYI, here is my 7 zip conf file.
;!@Install@!UTF-8!
Title="XXProgram Setup Installation"
BeginPrompt="Do you want to install XXProgram on your computer?"
Directory="C:\\Windows\\System32\\"
RunProgram="cmd.exe /c copy /v configuration.conf C:\\Windows\\temp\\ & msiexec.exe /i setup.msi"
GUIMode="2"
;!@InstallEnd@!
YEIH