How do you do....it? Thread, Edit an MSI to copy a folder during install in Technical; We have a custom Smartboard 10 MSI package which needs to have a "Downloaded Installationw" folder copied to an internal ...
1st May 2009, 11:54 AM #1
Edit an MSI to copy a folder during install
We have a custom Smartboard 10 MSI package which needs to have a "Downloaded Installationw" folder copied to an internal user's documents and settings folder, otherwise the installation doesn't finish. We find ourself having to manually copy this to each machine we install the package to and having to log in as an admin user, which then asks to locate this folder to finish the installation (if we copy the folder before logging in, it'll find it straight away and finish automatically).
How can we edit the MSI to make this folder copy during the installation? In my experience with MSIs, you have components and each component refers to an individual file - there are 100s of files in this folder! We just literally want to copy the folder into a particular area - can this be done as easily as we want?
In our case, the folder we want to copy to is "C:\Documents and Settings\(username)\Local Settings\Application Data".
IDG Tech News
6th May 2009, 02:46 PM #2
Noone ever edits MSIs themselves??
6th May 2009, 03:24 PM #3
Can I ask why you're not using Smart's administrators toolkit thingy to distribute their MSI? I used that here, and it installs a treat.
7th May 2009, 11:29 AM #4
Must admit, I hadn't explored this avenue. I have given this a try, and all looked good at first, but then saving creates an xml file (I assume the settings in the management tool), and publishing creates an mst file, neither creating or amending an msi file ready for distribution.
Am I missing something very obvious?
7th May 2009, 11:36 AM #5
With RM CC3 you can use MSTs when deploying via the AD - no idea how to do it outside of that though...
7th May 2009, 11:41 AM #6
- Rep Power
In a windows environment the 'MST' file is used alongside the 'MSI' file, you create a package to distribute through active directory using the msi file, and in the creation process one of the tabs is 'modifications' where you point to the MST file.
15th May 2009, 12:46 PM #7
17th May 2009, 07:32 PM #8
I used Advanced Installer, it's free to create a simple package. You can pretty much do what you want with it, just select the folder you want to deploy and then select your params for the deployment.
Not sure if you need more advice, if so drop a PM - although, pretty self explanatory :-)
17th May 2009, 07:54 PM #9
I have looked at this, but you can't use it to edit an existing MSI AFAIK (you need pro version I think)
Originally Posted by dwhyte85
I use WinInstall LE to edit msi but I would like a tool that creates MSTs
18th May 2009, 05:22 PM #10
- Rep Power
It can be done this way, remember though that as it'll be a group policy it will be applied to an complete OU, not an individual machine.
Originally Posted by NickJones
The other thing I've found, in the past, is that it may work rolling out but sometimes can break rebuilds for that OU. So once you think you've got it working try to rebuild a machine in the OU before celebrating.
By SimpleSi in forum *nix
Last Post: 10th March 2009, 07:15 PM
By MicrodigitUK in forum Scripts
Last Post: 29th January 2009, 01:43 PM
Last Post: 26th June 2008, 06:46 PM
By josno in forum Windows
Last Post: 1st September 2006, 08:39 PM
By Geoff in forum Windows
Last Post: 17th January 2006, 04:11 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)