I use two post-build events to sign the setup. One has "Execute this before EXE packing" checked and is supposed to sign the MSI file. The second event has the option unchecked and signs the EXE.
I can pass [| AI_BUILD_OUTPUT_FILE] in the second event and receive the name of the EXE to sign. However, I have not found a way to determine path and name of the MSI file in my first event. AI_BUILD_OUTPUT_FILE points to the EXE file that at this point doesn't yet exist. The MSI file that I'm interested is in a randomly named tmp folder.
Does anyone has a better idea to find this MSI than scanning the build folder for tmp subfolders with MSIs in them?
FOLLOW US
Get the latest news in Application Packaging