How can I modify parameters in a merge module file?

Got a problem you cannot solve? Try here.
Post Reply
Greyeye
Posts: 23
Joined: Thu Nov 30, 2006 5:57 pm

How can I modify parameters in a merge module file?

Post by Greyeye »

I need to attach the Crystal_regwiz2003.msm to my install package so that Crystal Reports will run properly. Using a Visual Studio installer, I had to modify the License Key property of the file. How can I do that using InstallAware 6 Developer? I am using VS 2003 and the built in Crystal Reports. Thanks.

Greyeye
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

To my knowledge ther is currently no way to edit parameters in a merge module from inside InstallAware. I believe you have 2 choices, edit the merge module directly using Orca or use InstallAwares Database Import Wizard to import the merge module into a project tweak it as necessary and include the resulting script in your project.

I do not know the version of Crystal Reports that is included in Visual Studio but there is an application runtime included in InstallAware that may also may solve your problem.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
Greyeye
Posts: 23
Joined: Thu Nov 30, 2006 5:57 pm

Post by Greyeye »

The included runtime is for the crystal reports that works with the 2.0 framework. Can you guide me through one of the two processes that you list? I am totally unfamiliar with how to do either of them....Thanks.

Greyeye
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

Orca is an MSI/MSM file editor that you can get from the Microsoft Website. Try this link: http://support.microsoft.com/kb/255905

The second process is quite simple, from the InstallAware 6 Program Group Menu run Database Import Wizard against your merge module.

The Wizard is very simple and straightforward.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Orca might be the simpler route in this case. Simply install it, then open your MSM in it. You will see a list of tables where you will be able to enter your custom data. Sorry for the manual inconvenience here!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Greyeye
Posts: 23
Joined: Thu Nov 30, 2006 5:57 pm

Post by Greyeye »

Thanks for all the tips!! I downloaded Orca and am now using it to examine the Crystal_RegWiz2003.msm. I need to modify a property that is listed under VS 2003 under MergeModuleProperties > License Key. I don't see any obvious properties like that in the tables in Orca. I do see an entry for CRPIDKEY in ModuleConfiguration that has a display name of License Key. Using Find, this is the only occurence of the word License in the whole merge module. I assume that I should change the default value for this table to be the License Key value I have been using in VS (thats what works in VS install projects). Thanks again for the help...

Greyeye
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Yes, that would be the one!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply