Solved

Create an MSI

Posted on 2010-08-27
4
1,598 Views
Last Modified: 2013-12-12
I have to create an MSI to be roll out with server 2008 R2 to windows 7 64bit computer. This MSI need to add the serial Key and the License server details during the installation. I know which Reg fragmant I need but Wininstall LE doesn't pick up any registry setting at the second snapshot. Wininstall is 10.0.1...... and installed on my 7 64bit computer. I tried on a clean 7 64bit and XP computer to run Discover but both of them give me "unable to create NAI file. Check permission...".

I end up creating that MSI on the my computer, the process went up to the end but no Registry Settings appears in the MSI location.  so the MSI install the program but I have to go through the serial KEY and the license detail manually.

Please HELP
0
Comment
Question by:QEMS2
  • 2
  • 2
4 Comments
 
LVL 5

Assisted Solution

by:lundholmster
lundholmster earned 500 total points
ID: 33576574
What are you trying to achieve? Are you chaning the serial key on a number of workstations or installing new ones?
0
 
LVL 7

Author Comment

by:QEMS2
ID: 33576659
It is for some software called sibelius, we have a license server running on the server and want to create an msi with serial key included for the client machine so we can just roll out the msi and not have to manually add in the license details per machine.

Sibelius do provide msi's for us but not with the keys included hence why we are trying to add them in and recreate an msi.
0
 
LVL 5

Accepted Solution

by:
lundholmster earned 500 total points
ID: 33576845
Try using a transform file instead.

Stolen from a different forum:

"Just load the MSI in Orca, choose "Transform/New Transform" , add your
pieces of info and "Generate Tranform".

The command-line for isntalling a package with transform should look lke
this:
msiexec /I %MSI% TRANSFORMS=%MST%

More than one MST must be delimited with ';'.


We use InstallShield-AdminStudio for repackaging - it has a built-in
feature to create Transforms - you just have to specify the base-msi and
the "target-msi" with changed values.

You can also use the editor of your choice, load the base-msi, add your
pieces of information and save the "target" as a new file. Then use the
SDK-Tool "Msitran.exe" to generate the MST between both MSIs:
http://msdn.microsoft.com/en-us/library/aa370495(VS.85).aspx

Some info:
http://msdn.microsoft.com/en-us/library/aa372085(VS.85).aspx"
0
 
LVL 7

Author Closing Comment

by:QEMS2
ID: 33689329
thanks for the help
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.

680 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