Solved

Windows installer: how to replace a file in install package without recompile it?

Posted on 2013-11-29
5
487 Views
Last Modified: 2013-12-21
Dear experts,

I need to create a windows installation program based on Windows installer that allows me to change 2 files in installation WITHOUT recompile. Every one of my customers used a specific version of this file. So I need a fast way to compile installation once time, but to make 20 copies to 20 customers with their own specific files. And if it is possible, I prefer to hide this from customers /the file that is different to not be easy seen/

What is the name of this option? If you know InstallAware – how is done with it?
0
Comment
Question by:dvplayltd
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:cyborgrd
ID: 39684813
Create a customer specific transforms. This transforms should include the 2 files. If you need to make changes on the msi, you must only recompile the msi and not the transforms.
0
 

Author Comment

by:dvplayltd
ID: 39684828
customer specific transforms - what is this? Could you give more info?
0
 
LVL 3

Expert Comment

by:cyborgrd
ID: 39684832
Transform is a MST File.
Read this

http://www.klaus-hartnegg.de/gpo/mst.html

I don't know which authoring tool you use to create MSI. I use Wise Package Studio. I can create TRANSFORMS on this way. Open the MSI, make the changes (Like File Property changes or file replacements) and Save as Transform (MST). That's all.
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 39687622
The installation file consists, basically, of two parts. One is the database that describes the installation; another is usually a cabinet with the files inside.

There's usually one cabinet with all files packed inside, but can be also the combination of several cabs, as well as uncompressed files.

Here's a trivial sample installation that has two files, file1.txt and file2.txt. File1.txt is packed inside the installation, while file2 is external. That's how you can include your customer-specific file.

In Wise editor this is configured on the tab "Media", where we specify which file (more technically, which component) goes where by allocating the components with these files to the different media. Maybe Installaware has similar feature.

However, since you want the file not to be easily seen, the transform is probably a better way.
0
 

Author Closing Comment

by:dvplayltd
ID: 39733598
I have been using WIse, but as you know it is not supported anymore. For sorry InstallAware can't do it in this style .. or it can, but will NOT compress any file, so I should do an additinal step like to complie all with .rar ...
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question