Re: [WiX-users] How do I override an imported .wixlib file's actions?

2007-01-22 Thread Quinton Tormanen
The DIFxApp.wixlib file was pretty short so I reverse-engineered it into
code that I put directly into my .wxs file. This appears to work. Thanks
for your help.
 
--Quinton



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 20, 2007 2:03 PM
To: Quinton Tormanen
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do I override an imported .wixlib file's
actions?


Quinton Tormanen wrote: 

When I added DIFxApp to my installer, I can no longer use that
installer to install my app on Windows 98. I know why this is happening.
That is, DIFxApp only supports Win2K and newer. However, I have the
components that have the Driver* attributes made conditional, but this
doesn't keep the actions brought in by DIFxApp.wixlib from running and
calling MsiProcessDrivers from the DLL, which can't be loaded on Win98.
So, it seems easy enough to me to just make those actions conditional
based on the OS version, but how do I change that since they come from
wixlib? Or is there another approach?


There's no way to do that in WiX v2 authoring. WiX v3 supports it but it
took a substantial change to do so. You can post-process your .msi
package to add conditions to your InstallExecuteSequence table using SQL
queries. See "Execute SQL Statements" in the MSI SDK doc for details.

-- 
sig://boB
http://bobs.org
-
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


Re: [WiX-users] How do I override an imported .wixlib file's actions?

2007-01-20 Thread Bob Arnson

Quinton Tormanen wrote:
When I added DIFxApp to my installer, I can no longer use that 
installer to install my app on Windows 98. I know why this 
is happening. That is, DIFxApp only supports Win2K and newer. However, 
I have the components that have the Driver* attributes made 
conditional, but this doesn't keep the actions brought in by 
DIFxApp.wixlib from running and calling MsiProcessDrivers from the 
DLL, which can't be loaded on Win98. So, it seems easy enough to me to 
just make those actions conditional based on the OS version, but how 
do I change that since they come from wixlib? Or is there another 
approach?


There's no way to do that in WiX v2 authoring. WiX v3 supports it but it 
took a substantial change to do so. You can post-process your .msi 
package to add conditions to your InstallExecuteSequence table using SQL 
queries. See "Execute SQL Statements" in the MSI SDK doc for details.


--
sig://boB
http://bobs.org

-
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


[WiX-users] How do I override an imported .wixlib file's actions?

2007-01-19 Thread Quinton Tormanen
When I added DIFxApp to my installer, I can no longer use that installer
to install my app on Windows 98. I know why this is happening. That is,
DIFxApp only supports Win2K and newer. However, I have the components
that have the Driver* attributes made conditional, but this doesn't keep
the actions brought in by DIFxApp.wixlib from running and calling
MsiProcessDrivers from the DLL, which can't be loaded on Win98. So, it
seems easy enough to me to just make those actions conditional based on
the OS version, but how do I change that since they come from wixlib? Or
is there another approach?
 
Thanks.
 
--Quinton
-
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