Summary
InstallShield currently distributes the built install before postbuild events occur.
Symptoms
InstallShield currently distributes the built install before postbuild events occur. Therefore, any postbuild events that directly modifies the resulting built installer will not be reflected on the distributed copy unless the postbuild event specifies the distribution location for the install.
Cause
An enhancement request to do the postbuild events before the files get distributed or otherwise having an option to do so has been submitted and is pending review from our Engineering team. The issue is being tracked under issue #IOJ-1742499.
Steps To Reproduce
Steps to Reproduce:
- Create a new Basic MSI project.
- Add Feature, Component, and file to the project.
- In the Releases view, add a new release.
- Select the Release and go to the Events tab.
- Add the following command to the Postbuild Event field:
cmd.exe /c echo "Build Complete" 2>"<ISReleasePath><ISProductConfigName>\<ISReleaseName>\DiskImages\DISK1\MyNewFile.txt" - Create a VM Configuration and set the Distribute After Build setting to Yes.
- Set the Copy to Folder field to a local location, such as the Desktop folder, and the Distribute After Build property to Yes.
- Build the project.
Workaround
The workaround is to implement distribution as part of the postbuild event or otherwise specify the built install in the distribution location to apply the post build event to the distributed install..
Related Articles
Work with Command Events at Build Time 6Number of Views How to collect Windows Event Application and System logs 144Number of Views Chatbot responses do not appear due to Server-Sent Events being blocked 3Number of Views What is Custom Event Tracking? 8Number of Views Saving and Managing Report Settings on the Lifetime Event Usage Report 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago