As promised (or threatened, or whatever), here's my secret recipe for packaging Microsoft DirectX 9.0c June 2010 collection into a single, well-behaved, chewing with closed mouth, sits-up-straight, says "yes ma'am!" MSI package so it can be wrapped up with Autodesk products and pushed through SCCM without imploding and causing mass casualties in far-flung lands. Ok, it's not that secret. I did figure it out on my own, but no sooner had I patted myself on the back than I discovered others had already crossed the minefield with all their limbs intact. So, for what it's worth…
- Download DirectX 9.0c Redistributable
- Example (June 2010): http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d
- Extract files from download (example: to C:\DX9)
- Open Wise Package Studio (WPS)
- Create a new Project for “Repackage for Windows Installer” (leave “Vendor Package” empty)
- Click “Edit Package”
- Select “Files (under Feature Details)
- Select the Source (extraction) folder, then select \Windows\Temp in the lower panel, and click “Add Contents” (adds the “DX9” folder under “\Windows\Temp”)
- Select the “MSI Script” tab and select the tab “Execute Deferred”
- Click on the “InstallFinalize” action (near the bottom)
- Double-click the action “Execute Program from Installed Files”
- Enter a Custom Action Name: “RunSetup”
- Executable File (click browse, select DXSETUP.exe)
- Command Line Arguments: /SILENT
- Select the “Properties” tab, set Processing to “Synchronous, Ignore exit code”
- Click OK
11. Press [F7] to compile and provide a name (ie. “DirectX90c_June2010.msi”)
3 comments:
Tip: If after you create the new Project you can't directly "Edit Package", just run a bogus snapshot capture with no changes. Then review the capture results to verify nothing was actually captured. Once that's done you can edit the package and manually stuff the files in and modify the custom action script.
Hi Skatterbrainz,
i don´t have WPS, but i need the MSI to deploy Acad2012. Can you help me with it and send me the directX msi file or can you upload it?
Greetz BaSe
Unfortunately, I cannot do that. There are various legal ramifications to that which I don't want to step into. If you have AutoCAD 2012, you should be able to scrape up a few bucks to purchase InstallShield or something similar (don't buy Wise anymore)
Post a Comment