Windows Thread, Need help adding a file to an MSI with Orca or similar in Technical; Ive been given some software called Universal Logicator by the Tech department to install. Helpfully it includes an MSI which ...
8th June 2007, 01:32 PM #1
Need help adding a file to an MSI with Orca or similar
Ive been given some software called Universal Logicator by the Tech department to install. Helpfully it includes an MSI which works flawlessly, but they've undone their good work by requiring the Unlock Code to be typed into each machine on first bootup. The licence details are kept in a registration.xml file
Obviously I could have a small script that copies this file into the correct directory but I would prefer the MSI to be able to do it all.
Ive put the file in the folder the MSI takes the installation files from and tried adding the file to the 'files' table in Orca but it doesnt work - Im not surprised because I know nothing about Orca.
Is there any way I can easily do this?
8th June 2007, 09:43 PM #2
Re: Need help adding a file to an MSI with Orca or similar
This is not a trivial task by any means if the only tool you have is Orca and not much experience.
What I tend do to is to create a transform (.MST file) which adds a custom script that runs after the install. The script can then do whatever you need it to do, including copying in extra files from the installation source.
Create a new Transform file
Add these 2 entries to the CustomAction table
Add these entries to the InstallExecuteSequence table
Sequence=(a number just after PublishProduct sequence number) |
Save this transform calling it something like PostInstallScript.mst.
Create the post installation script in AutoIt, compile to PostInstallScript.exe and save it in the same folder as the MSI.
Test, test and test again!!
If you are assigning with AD then be sure to add the MST as a modification when doing the assignment.
By Samson in forum Wireless Networks
Last Post: 20th June 2007, 11:02 AM
By tosca925 in forum Windows
Last Post: 14th May 2007, 08:54 PM
By stevegwernyfed14 in forum Web Development
Last Post: 24th February 2006, 11:07 AM
By ChrisH in forum Hardware
Last Post: 3rd February 2006, 01:29 PM
By russdev in forum Windows
Last Post: 27th October 2005, 09:28 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)