English 中文(简体)
Installshield including satellite dlls
原标题:

I m having problems including satellite dll s in a installshield project.

I ve tried adding a component, say "SatelliteNorwegian" for a norwegian language installation, for which I set the "Data Language" field to norwegian. The actual files reside in the folder [INSTALLDIR]/no-NB/. I ve set this up as a dynamic file link.

The problem is that our build system will only pull in this folder when we are building a norwegian release. This results in a build error since installshield cannot find the referenced folder. One possible solution is to include an empty folder for every language we support, currently 9 and counting.

Does anybody know a good solution to this problem?

问题回答

First, I ve written many, many times about the perils of dynamic file linking. I really suggest that you don t use this feature. That said, the following will work regardless if you choose to use static components or dynamic components.

You need to create a subfeature for each of your supported languages and move the components for the language to that subfeature. Then give each subfeature a unique release flag such as EN-US, NO-BN.

Next you are going to define a Product Configuration for each language that you want to build. Give that product configuration a matching release flag. Each configuration will pick up all features that either don t have a flag or have a matching flag.

In your build automation you ll have to update your calls to ISCMDBLD to specify the correct product configuration to build using the -a argument.





相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

msi install program as startup

is it possible to install a program as a start up program using MSI installer?

Web Setup Project - Repair to overwrite files

I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the ...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don t appear to be the Windows standard. (source: ...

Implementing Update functionality

I want to implement the Update functionality for one of my .NET application. I saw that the Advanced Installer contains this functionality. Anybody recommends Advanced Installer for updating my ...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

热门标签