Hi guys,

 

I was wondering if the following behaviour is a bug or not (before I posted
it to bug-track)...

 

I have an MSI which places a single DLL on the filesystem, and some registry
keys, both within the same 'directory' element, and within the same
'component' element.

 

Ie (pseudo-xml)

 

<Directory>

                <Component>

                                <File Source="MyAssembly.dll"/>

                                <Registry/>

                </Component>

</Directory>

 

This works correctly, placing the file on the filesystem, and creating the
registry key.

 

HOWEVER:

If I configure the File to place the dll in the GAC (vital/MSIL), because
the file is no longer placed within the enclosing directory, the registry
key is no longer created either.

 

Should this really behave this way? Took me a while to find out what was
going on, and I could only resolve it by either no putting the DLLs in the
GAC, or by putting the registry keys and files in separate Component
elements (of which I did the latter).

 

Thanks!

 

Adam Langley

 

Secon NZ Ltd.
A1/400 Rosedale Road
Albany
North Shore 0632
New Zealand

Tel.  +64 (0)9 414 4071
Fax. +64 (0)9 414 4072

 <http://www.seconag.com> www.seconag.com

 

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to