设置作者:合并模块/设置问题 [英] Set Author: a Merge Modules/Set Up question

查看:61
本文介绍了设置作者:合并模块/设置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用合并模块和安装项目。


我很想知道如何指定模块的安装位置。

默认情况下,它被安装到C:\Program Files \Default Company Name \中。这不是我想要的。


我不知道如何将它设置为我想要的状态。


我已注意到,一旦包含安装/设置项目,合并模块上就有一个Author属性(在KeyOutputs属性下)......此属性的值设置为默认公司名称。这是不可编辑的。


认为我的路径设置为默认公司名称与设置作者属性有关...但是我找不到任何关于如何解决此问题的信息....关于合并模块的信息非常有限。


任何关于如何实现这一目标的提示将不胜感激。


谢谢,


-Frinny

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

推荐答案

更新我对这个问题的想法:


当我编译合并模块时,它会创建一个由设置使用的.msm文件用于创建setup.exe和setup.msi应用程序的项目。


创建.msm文件时,.msm作者设置应用于该文件。编译器就是这样做的。


我对此感觉很糟糕......但我认为我要做的就是编辑编译器的.msn文件:MSHelp2_RegTables__RTL _-- -_---。msm为了设置我的合并模块的作者信息,以便可以将默认安装路径设置为我想要的东西。


现在我是寻找像Orca这样的工具,让我编辑msm文件....尽管我有大约1000个红旗的原因,为什么我不应该这样做在脑子里。

我现在的问题是Orca适用于Vista而我正在开发一台XP机器。


所以,我希望有人在这里知道在找到允许我编辑编译器的.msm文件的应用程序之前,有更好的方法来完成我想要做的事情。


< edit>有没有人知道一个允许我编辑.msm文件的Windows XP应用程序?< / edit>


-Frinny
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


我在猜那个合并模块是视觉基础安装项目的疯狂版本吗?

检查程序集文件,您应该找到类似公司的文件。或者包含默认公司名称的任何内容并且是可编辑的吗?


编辑:我回过头来,你在哪里找到合并模块项目?我在vs 2005和vs 2008中进行了挖掘,没有看到它

重新编辑:我是个白痴。找到了。但是我的作者属性是可编辑的吗?
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?


@Plater


不,这里有一些有关合并模块的信息。这些项目中实际上没有代码。它们基本上是组件(如DLL)...安装程序使用的一堆资源/文件等的包...您可以包含在安装项目中以安装不同应用程序安装所共有的组件。

@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?



我已经完成了与合并模块有关的每个应用程序。


唯一的事情是包含默认公司名称是编译我的合并模块后生成的.msm文件的Author属性.....以及运行使用.msm文件的已编译安装/安装程序时应用程序的安装路径。

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.


这篇关于设置作者:合并模块/设置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆