+ Post New Thread
Results 1 to 10 of 10
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 ...
  1. #1
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36

    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".

  2. #2
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36
    Noone ever edits MSIs themselves??

  3. #3
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,485
    Thank Post
    282
    Thanked 196 Times in 167 Posts
    Rep Power
    75
    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.

  4. #4
    dgsmith's Avatar
    Join Date
    Nov 2007
    Location
    Merseyside, England
    Posts
    1,104
    Thank Post
    118
    Thanked 90 Times in 78 Posts
    Rep Power
    36
    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?

  5. #5
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,485
    Thank Post
    282
    Thanked 196 Times in 167 Posts
    Rep Power
    75
    With RM CC3 you can use MSTs when deploying via the AD - no idea how to do it outside of that though...

  6. #6

    Join Date
    Sep 2007
    Location
    North - UK
    Posts
    64
    Thank Post
    23
    Thanked 5 Times in 4 Posts
    Rep Power
    14
    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.

  7. #7

    Join Date
    Mar 2008
    Location
    Kent
    Posts
    99
    Thank Post
    33
    Thanked 11 Times in 11 Posts
    Rep Power
    14
    On a similiar note, what do you all use to create MSIs/MSTs? I'm just starting looking at using AD to deplot software since we've gone over to a vanilla network so am looking for some free software to use.

    I have experience on CC3 with creating packages so it's not a completely new topic thankfully

    And thanks for the SMART Admin installer, that will solve a few problems

  8. #8
    dwhyte85's Avatar
    Join Date
    Mar 2009
    Location
    Berkshire
    Posts
    1,218
    Thank Post
    156
    Thanked 147 Times in 132 Posts
    Rep Power
    102
    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 :-)

  9. #9

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,739
    Thank Post
    1,272
    Thanked 1,645 Times in 1,101 Posts
    Blog Entries
    22
    Rep Power
    505
    Quote Originally Posted by dwhyte85 View Post
    I used Advanced Installer, it's free to create a simple package.
    I have looked at this, but you can't use it to edit an existing MSI AFAIK (you need pro version I think)

    I use WinInstall LE to edit msi but I would like a tool that creates MSTs

  10. #10

    Join Date
    Feb 2006
    Location
    London
    Posts
    126
    Thank Post
    1
    Thanked 17 Times in 9 Posts
    Rep Power
    20
    Quote Originally Posted by NickJones View Post
    With RM CC3 you can use MSTs when deploying via the AD - no idea how to do it outside of that though...
    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.

    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.

SHARE:
+ Post New Thread

Similar Threads

  1. Copy file across variable folder name
    By SimpleSi in forum *nix
    Replies: 11
    Last Post: 10th March 2009, 06:15 PM
  2. vbscript to copy a folder & delete a folder
    By MicrodigitUK in forum Scripts
    Replies: 2
    Last Post: 29th January 2009, 12:43 PM
  3. how to copy folder using putty
    By ranj in forum *nix
    Replies: 2
    Last Post: 26th June 2008, 05:46 PM
  4. Replies: 25
    Last Post: 1st September 2006, 07:39 PM
  5. Edit MSI?
    By Geoff in forum Windows
    Replies: 3
    Last Post: 17th January 2006, 03:11 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •