[wix-users] DLLs registered during installation
Christopher Painter
chrpai at iswix.com
Fri Apr 27 13:33:03 PDT 2018
Also of note... Strong Name signing != Authenticode Signing.
Two things I rarely do in installers are install to the GAC and precompile (ngen) assemblies. Ironically I do have 1 DLL in the GAC for IsWiX. An open source assembly called GlobalParams is used in the multi-project solution templates for Visual Studio. Because we can register with multiple visual studio instances I just put in the GAC. Otherwise it's pretty rare. Once upon a time I'd say it's more likely if you are an SDK author but with Nuget even that is rare. Private is typically the way to go.
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Edwin Castro via wix-users <wix-users at lists.wixtoolset.org>
Sent: Friday, April 27, 2018 10:54 AM
To: WiX Toolset Users Mailing List
Cc: Edwin Castro
Subject: Re: [wix-users] DLLs registered during installation
Agreed, don't add to the GAC if private deployment works for your
application.
That said, take a look at the Assembly attribute on the File element:
http://wixtoolset.org/documentation/manual/v3/xsd/wix/file.html
File Element - WiX toolset<http://wixtoolset.org/documentation/manual/v3/xsd/wix/file.html>
wixtoolset.org
File Element Description File specification for File table, must be child node of Component. Windows Installer references File Table
--
Edwin G. Castro
On Fri, Apr 27, 2018 at 8:01 AM, Joel McBeth via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> Do they need to be in the GAC if you install them in the application
> directory?
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Brian E via wix-users
> Sent: Friday, April 27, 2018 10:49
> To: WiX Users <wix-users at lists.wixtoolset.org>
> Cc: Brian E <brianke at gmail.com>
> Subject: [wix-users] DLLs registered during installation
>
> If I include a DLL (from packages I get from NuGet or develop myself) in
> my product, add it to the installer and place it in the C:\Programs Files
> (x86)/MyProgram directory, do these DLLs get automatically registered in
> the GAC or is there something I need to do in WiX to initiate the
> registration?
>
> In case it matters, all of these DLLs I include in the installer are
> digitally signed using our company's digital signature.
>
> Brian
>
> If you can't explain it simply, you don't understand it well enough. -
> Albert Einstein
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list