Thanks for the catch Mike.  I originally put those dlls in there because
they were needed by my make files to build my custom DLLs.  I thought
putting them in the merge module would ensure my DLL would have them
available if they weren't and these would be used if it wasn't on the
system.  We don't support Windows NT so I thought I would be safe with
Windows File Protection not allowing them to be put down and force the
installer to use find the ones in the system.  You are correct that I
should not have them in there so I will take them out.

 

I haven't used a later version of WiX since the last time we did a
release, since it wasn't broke I didn't feel the need to upgrade to the
newer one.

I will see how the latest version of Wix works and see if we can use
that.  

 

________________________________

From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 11, 2007 5:56 PM
To: Steven Chin; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] light.exe hangs

 

Er... I really hope that message doesn't mean what I think it means. Why
the heck are you including a ton of operating system binaries in your
merge module? None of them will install on a modern machine, because
Windows File Protection will prevent them being installed; on a Windows
NT 4.0 machine, you'll kill it stone dead if you try to replace
ntdll.dll (which must be an exact match with the kernel build, or the
system likely won't boot). There are a few updated components that can
be installed on NT 4.0, for example OLEAUT32, but if you need them, you
should be using the merge modules (generally from Visual Studio 6 SP6).
I believe you should use a <Dependency> element under the <Module>
element to indicate that your merge module requires these other modules.

 

Note that if you're using VS6SP6 merge modules, see
http://installsite.org/pages/en/bugs_msi.htm#wimsm for information on
known issues with these merge modules.

 

Also, that version of light is extremely old - the current version on
the SourceForge project site is 2.0.4820.0 (15 months newer) and the
current 2.0 weekly is 2.0.4908.0 (released on Monday).

 

-- 

Mike Dimmick

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Chin
Sent: 11 January 2007 19:24
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] light.exe hangs

 

I am running light.exe from binaries-2.0.3309.0.zip and it seems hangs
when trying to build a 125 MB merge module.   I was running with -v0 and
-notidy options and could see that after all the Cabbing the last thing
it logged was:

 

Importing streams.

Importing binary stream from 'C:\WINNT\system32\rpcrt4.dll'.

Importing binary stream from 'C:\WINNT\system32\oleaut32.dll'.

Importing binary stream from 'C:\WINNT\system32\msvcrt.dll'.

Importing binary stream from 'C:\WINNT\system32\gdi32.dll'.

Importing binary stream from 'C:\WINNT\system32\comdlg32.dll'.

Importing binary stream from 'C:\WINNT\system32\odbc32.dll'.

Importing binary stream from 'C:\WINNT\system32\kernel32.dll'.

Importing binary stream from 'C:\WINNT\system32\ntdll.dll'.

Importing binary stream from 'C:\WINNT\system32\shlwapi.dll'.

Importing binary stream from
's:/Ainstall/matlab/pbr/mcr/../../install/bin/win32

\frameworktest\frameworktest.dll'.

Importing binary stream from 'C:\WINNT\system32\advapi32.dll'.

Importing binary stream from 'C:\WINNT\system32\odbccp32.dll'.

Importing binary stream from
's:/Ainstall/matlab/pbr/mcr/../../install/bin/win32

\uninstallmcrpath\uninstallmcrpath.dll'.

Importing binary stream from 'C:\WINNT\system32\shell32.dll'.

Importing binary stream from 'C:\WINNT\system32\user32.dll'.

Importing binary stream from 'C:\WINNT\system32\ole32.dll'.

Importing binary stream from 'C:\WINNT\system32\msi.dll'.

 

It never got to print out "Laying out media."

 

It also may have hung the machine since nothing is responding at this
point.  This only happens sometimes.  It works fine on other machines.
Has anyone seen this before?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to