Re: [WiX-users] dynamic library registration

2006-08-13 Thread Standa Kunc
OTOH in this case just use the proper comdlg32 msm which will do everything
properly and not break stuff (or at least if it does you can legitimately
blame microsoft..).

Now I am completely lost. What should I do in order to just use the
proper comdlg32 msm?

I know that msm files are merge modules but I do not need to use them.
I am the only one who is creating this new installer.


I tried tallow but it failed for some reason. What I am doing wrong?
See tallow output:

F:\tmp\wix\didakta-fyzika-2003-klient\datatallow -nologo -c .\PICCLP32.OCX
Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
  Fragment
DirectoryRef Id=TARGETDIR
  Component Id=component0 DiskId=1 guid=PUT-GUID-HERE
File Id=file0 Name=PICCLP32.OCX src=F:\tmp\wix\didakta-fyzika-2003
-klient\data\PICCLP32.OCX /Failed to load Assembly: .\PICCLP32.OCX
 System.BadImageFormatException: The format of the file 'PICCLP32.OCX' is invali
d.
File name: PICCLP32.OCX
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B
oolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Ass
embly locationHint, StackCrawlMark stackMark)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence security
Evidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
   at Microsoft.Tools.WindowsInstallerXml.Tools.TallowMain..ctor(String[] args)

=== Pre-bind state information ===
LOG: Where-ref bind. Location = F:\tmp\wix\didakta-fyzika-2003-klient\data\PICCL
P32.OCX
LOG: Appbase = C:\program files\bin\wix\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Attempting download of new URL file:///F:/tmp/wix/didakta-fyzika-2003-klien
t/data/PICCLP32.OCX.

  /Component
/DirectoryRef
  /Fragment
/Wix


S. Kunc



On 13/08/06, Tony Hoyle [EMAIL PROTECTED] wrote:
 Standa Kunc wrote:
  ACTION: SharedFile: C:\WINNT\system32\COMDLG32.OCX
  (File was now found or had older version -- new file was copied)

 Avoid modifying system32.  Definately don't 'upgrade' anything found there -
 you have no idea what other applications you're breaking whilst attempting to
 do that.

 SFP will undo your action anyway for most files.

  I guess I need to self-register these two libraries but I do not know
  how. I have never used DLL before so I need some introduction.

 Normally you'd use Tallow to work out what the selfreg did and code it into
 the wix file.

 OTOH in this case just use the proper comdlg32 msm which will do everything
 properly and not break stuff (or at least if it does you can legitimately
 blame microsoft..).

  Actually I have the same problem with two other applications. It is
  edition of educational software. In that case is it better to place
  libraries to system folder than place them to application's folder?

 There's almost never a case to modify the system folder.  Device drivers is
 about the only one I can think of.

 Tony

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] dynamic library registration

2006-08-13 Thread Frederik Carlier
 OTOH in this case just use the proper comdlg32 msm which will do
 everything
 properly and not break stuff (or at least if it does you can
legitimately
 blame microsoft..).
 
 Now I am completely lost. What should I do in order to just use the
 proper comdlg32 msm?
 
 I know that msm files are merge modules but I do not need to use them.
 I am the only one who is creating this new installer.

Yes, but you're not the only one creating an installer that uses
comdlg32. 
According to the quoted text, Microsoft created a Merge Module that can
be used to deploy comdlg32. You can use that in your setup.

Frederik.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] dynamic library registration

2006-08-13 Thread Standa Kunc
Could someone help me to get these msm files? What should I download?
Please provide some link.

S. Kunc

On 13/08/06, Frederik Carlier [EMAIL PROTECTED] wrote:
  OTOH in this case just use the proper comdlg32 msm which will do
  everything
  properly and not break stuff (or at least if it does you can
 legitimately
  blame microsoft..).
 
  Now I am completely lost. What should I do in order to just use the
  proper comdlg32 msm?
 
  I know that msm files are merge modules but I do not need to use them.
  I am the only one who is creating this new installer.

 Yes, but you're not the only one creating an installer that uses
 comdlg32.
 According to the quoted text, Microsoft created a Merge Module that can
 be used to deploy comdlg32. You can use that in your setup.

 Frederik.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] dynamic library registration

2006-08-13 Thread Chesong Lee

Take a look at in C:\Program Files\Common Files\Merge Modules if you have 
Visual Studio installed in your system. Otherwise, you may download from 

http://www.installshield.com/downloads/modules.asp?prod=cxlan=englishxmlUse=y

Regards,

Chesong Lee

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Standa Kunc
Sent: Sunday, August 13, 2006 6:57 PM
To: Frederik Carlier
Cc: WiX-users
Subject: Re: [WiX-users] dynamic library registration

Could someone help me to get these msm files? What should I download?
Please provide some link.

S. Kunc

On 13/08/06, Frederik Carlier [EMAIL PROTECTED] wrote:
  OTOH in this case just use the proper comdlg32 msm which will do
  everything
  properly and not break stuff (or at least if it does you can
 legitimately
  blame microsoft..).
 
  Now I am completely lost. What should I do in order to just use the
  proper comdlg32 msm?
 
  I know that msm files are merge modules but I do not need to use them.
  I am the only one who is creating this new installer.

 Yes, but you're not the only one creating an installer that uses
 comdlg32.
 According to the quoted text, Microsoft created a Merge Module that can
 be used to deploy comdlg32. You can use that in your setup.

 Frederik.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users