English 中文(简体)
DuplicateFile table with GAC
原标题:

My installer has grown very large b/c of file duplication. Some of our DLL s are in two places (local and GAC or local and system32 folders). How can I use the DuplicateFile table or other Installshield mechanism (installscript?) to duplicate the file in the GAC? It s the same file that needs to be copied to two locations but I only want it in the installer once because of its size.

My project type is actually Installscript MSI.

Hopefully my request is clear. Thanks!

最佳回答

The DuplicateFile table doesn t support deploying to the GAC because MSI doesn t uses a different pattern to deploy to the GAC then most folders. It uses MsiPlublishAssemblies which interacts with Fusion.

You have to declare 2 components ( 1 for normal and 1 for the GAC ). If size is a concern for you, WiX has a feature called smart cabbing which can create your cab and stream it into media with multiple file rows sharing the same storage.

问题回答

暂无回答




相关问题
Reusing InstallShield prerequisites

I m looking to have a release layout with multiple installers but with a single source for prerequisites, in the following structure: Product1setup.exe Product2setup.exe Product3setup.exe ...

DuplicateFile table with GAC

My installer has grown very large b/c of file duplication. Some of our DLL s are in two places (local and GAC or local and system32 folders). How can I use the DuplicateFile table or other ...

Error 1926 on setup created by InstallShield 2008

I m compiling the setup with InstallShield 2008 - Professional and I have a problem that occurred only in some Win 7 Ultimate systems. My setup is suppose (among others) to copy files to the "Program ...

A InstallShield INSTALLDIR and TARGETDIR issue

Now I have a problem about InstallShield INSTALLDIR and TARGETDIR. for example: 1- I make a project named "MyTestprogram" 2- I install this program into my computer which location is D:MyCompany...

Why isn t SQL Text Substitution working in InstallShield

I m trying to run some dynamic SQL in an installscript project. In the UI portion of the script I have the following code: TextSubSetValue("<INSERTSITES>", message, TRUE); message = ""; ...

how to open a web page on click of button in InstallShield?

HI, I want to open a web page on click of a button in any dialog that is created in InstallShield. I think it can be created by using custom actions but as I am new in this tool do not find the exact ...

Silent install installer with prerequisites [closed]

Is there a way to install silently (/s) an InstallShield (non-MSI) installer that requires its own prerequisites? In my case the prerequisite is Microsoft Visual C++ 2008 Redistributable. Its UI ...

Issue with InstalShield

I Use Installsheild 2009 To Deployment VS2005 Project with Sql express 2005 DB. I put my exe and DB files. And I typed /qn SQLAUTOSTART=1 ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=1 in command line to ...

热门标签