473,472 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Set Author: a Merge Modules/Set Up question

Frinavale
9,735 Recognized Expert Moderator Expert
I am currently working with a Merge Module and Installation project.

I would love to know how to specify where the module should be installed to.

By default it is being installed into "C:\Program Files\Default Company Name\" which is not what I want.

I'm not sure how to set this to what I want it to be.

I have noticed that there is an Author property (under the KeyOutputs property) on the Merge Module once it's included the Installation/Set Up project...this property's value is set to "Default Company Name" and it is not editable.

I think my path being set to "Default Company Name" has something to do with setting the Author property...however I cannot find any information on how to go about fixing this....there is very limited amount of information out there about Merge Modules.

Any hints on how to accomplish this would be greatly appreciated.

Thanks,

-Frinny
Dec 11 '08 #1
16 1638
Frinavale
9,735 Recognized Expert Moderator Expert
Update about my thoughts on the problem:

When I compile the Merge Module it creates an .msm file that is used by the Set Up project to create setup.exe and setup.msi applications.

It is when the .msm file is created that the .msm author settings applied to the file. The compiler does this.

I have a really bad feeling about this... but what I think I have to do is edit the compiler's .msn file: MSHelp2_RegTables__RTL_---_---.msm in order to set the author information for my Merge Module so that the default installation path can be set to something I desire.

Right now I'm looking for a tool like Orca that will let me edit the msm file....even though I have about 1000 red flag reasons as to why I shouldn't do this going around in my head.

My problem right now is that Orca is for Vista and I'm developing on an XP machine.

So, I'm hoping that someone here knows of a better way to accomplish what I'm trying to do before I find an application that lets me edit my compiler's .msm file.

<edit> does anyone know of a Windows XP application that will let me edit .msm files?</edit>

-Frinny
Dec 11 '08 #2
Plater
7,872 Recognized Expert Expert
I am guessing that "merge module" is visual basics crazy version of an install project?
Check the Assembly file, you should find that like "Company" or whatever also contains that "Default Company Name" and is editable?

edit: I take that back, where did you find a merge module project? I dug around in vs 2005 and vs 2008, didn't see it
re-edit: I'm a moron. found it. But my Author Property was editable?
Dec 11 '08 #3
Frinavale
9,735 Recognized Expert Moderator Expert
@Plater
No, here's some info on merge modules. There's actually no code in these projects. They are basically components (like a DLL)...a package of a bunch of resources/files etc used by the installer...that you can include in install projects to install components common to different application installs.

Check the Assembly file, you should find that like "Company" or whatever also contains that "Default Company Name" and is editable?
I've already done this to every application that is involved with the Merge Module.

The only thing that contains "Default Company Name" is the Author property of my .msm file that is generated after compiling my Merge Module.....and the path that the application is installed to when running the compiled install/setup program that uses the .msm file.
Dec 11 '08 #4
Plater
7,872 Recognized Expert Expert
You beat me to replying before i was done with my edits.
My "Author" property is editable.
Dec 11 '08 #5
Frinavale
9,735 Recognized Expert Moderator Expert
Why is yours editable while mine isn't????

<edit>Oh wait, how are you editing the "Author"....by right clicking on the MSM file and adding an author?

This approach wont work for me because my msm file is compiled just before my installer project that uses it is compiled....which means I can't do this unless I break up the the way the solution is installed and compile each component by hand.
</edit>
Dec 11 '08 #6
balabaster
797 Recognized Expert Contributor
Do you have Orca? Does it support this? I've got Orca and I use it for stuff like this. There's certain things I do - like change the color/position/size of the banner text so that it lines up on my banner properly that I've not found another way to do in the Setup Project directly. If you're looking for Orca then it can be found here:

http://www.technipages.com/wp-conten...07/11/orca.Msi

If you're looking some other tool "like" Orca, then maybe Wix, Wise or InstallShield. I tried them all and gave up. I can't really wrap my head around the process of writing installers using a database style structure... it's about all I can do to make the minor modifications I do in Orca.

I found that Visual Studio's Setup Project template will take you so far, but if you want to do anything outside the mainstream basic installer, then it can get complicated real fast and you have to go outside to another tool to complete the job... hence Orca & WiX et al...

I guess it takes a completely different mindset for writing installers. At this point I think in OO and write event driven applications. Trying to modify that mindset to write these merge modules is just an alien concept to me. Eventually I'll be forced to learn it properly though, by which time, hopefully you fully understand it and I can just pester you for the answers :oP
Dec 11 '08 #7
Frinavale
9,735 Recognized Expert Moderator Expert
I don't think Orca is supported by XP (from what I've read about it).

I'll give it a try anwyas.....thanks

<edit>It's working in XP.....here I go...wish me luck!</edit>
Dec 11 '08 #8
balabaster
797 Recognized Expert Contributor
@Frinavale
Yeah, Orca works on XP just fine... at least, the version I have does. Maybe there's o/s specific versions(?)... if there are o/s specific versions, then I lucked out. I'll see if I can find where I got it from for you. That link was just the first place I found it online...

This version for sure works on XP - I just downloaded and installed it to check it for you:

http://download.softpedia.com/dl/b09...oring/Orca.Msi
Dec 11 '08 #9
Plater
7,872 Recognized Expert Expert
@Frinavale
No, inside visual studio in the properties section there.
the first one was author. I clicked in there and changed the value
Dec 11 '08 #10
Frinavale
9,735 Recognized Expert Moderator Expert
Great, I don't even see any author settings in any of the tables in the .msm files I thought might be used to set the settings.

Why is such a simple question like "How do I change the default path of where my application is installed?" turning out to be so complicated?
Dec 11 '08 #11
Plater
7,872 Recognized Expert Expert
See? Just click and type?
Attached Images
File Type: jpg mergemod.JPG (7.9 KB, 132 views)
Dec 11 '08 #12
Frinavale
9,735 Recognized Expert Moderator Expert
:) I don't know why I didn't select the project, then hit the properties tab to view the properties...I instead right clicked and selected properties and it came up with something completely different.

Thanks to Plater I was Finally able to edit my Author settings (gurr I wish I knew yesterday so i have to research the heck out of merge modules all morning)

I'm trying it now to see if it makes a difference.

Thanks Plater
Dec 11 '08 #13
Frinavale
9,735 Recognized Expert Moderator Expert
Well it wasn't the Author settings after all.

There were a bunch of properties that I didn't see because I right clicked on the Install Project and selected "properties"and after filling out these properties everything was solved.

If you right click on the Install Project in the Solutions page it'll bring up a "Properties Page" dialog for the project....which does not include any useful property information. It includes properties for seeing as the output file name, package files, compression and other things used when compiling the application. It does not include any properties on the Installation Application at all.

It wasn't until I clicked on the properties tab that I saw useful properties for the projects.

>>blushes<<

At least I know a lot more about merge modules now.
Yesterday I didn't even know they existed.
Dec 11 '08 #14
Plater
7,872 Recognized Expert Expert
I thought you were talking about the merge module :-P
I just right-clicked properties on both the installer and the merge module project.
Neither showed me anything usefull. All my properties sit in the properties window.
Thats on vs2008 though
Dec 11 '08 #15
Frinavale
9,735 Recognized Expert Moderator Expert
@Plater
Exactly. I never got any useful property information for the Merge Module nor the installer project because I was right clicking and selecting properties.
Dec 11 '08 #16
Plater
7,872 Recognized Expert Expert
Oh ok, your post made it sound like right-clicking on the project for properties was where you found all the ones you wanted.
I was confused.
Dec 11 '08 #17

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: forge | last post by:
Installing Merge Modules from C# Windows Form Application (not using a setup and deployment project) Hi, Currently, we have an InstallShield project that creates a setup.exe that only...
0
by: Shiraz | last post by:
Hi I have a question regarding the functionality of merge modules. Since this relates to my previous queries, I'll just give you a brief background on the topic. I had to make an installer for...
2
by: A.M | last post by:
Hi, I have a merge module and i need to install them on my web server (IIS6). When I double click on them, windows 2003 doesn't recognise *.msm files. How do I install merge modules (msm...
1
by: Sebastian | last post by:
I'm trying to use the MSDE Merge Modules with my vb .net application. Following the instructions on http://msdn.microsoft.com/library/default.asp? url=/library/en-us/distsql/distsql_8yeq.asp At...
1
by: travisj | last post by:
Does anyone know if there is a way to determine if the Crytstal reports merge modules have been installed by looking at the registry or some other means?
1
by: mjobbe | last post by:
I have an installer that requires three merge modules (ATL, CRT, and MFC), and after adding them in, I get the following warnings when I build the MSI: WARNING: Two or more objects have the same...
4
by: Tom Jones | last post by:
I have an application that was originally built using Visual Studio 2003 that I upgraded to Visual Studio 2005. When I attempt to build the *.msi file in the deployment project, I am getting a...
0
by: Claire | last post by:
Hi, I developed an application that uses Crystal Reports in visual studio 2005 then ported the whole application to VS2008. My original setup/deployment application (created within visual studio)...
4
by: muddasirmunir | last post by:
I had created an application with vb6 + CR10 + MS access , now i want to deoploy this project to user machine , searching the net i get that merge modules are necessary with CR10 , but i donot know...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.