Re: [WiX-users] Port monitor + printer driver

2007-04-11 Thread Friedrich Dominicus
Trevor Clifton [EMAIL PROTECTED] writes:

 DPInst.exe is the round about way of doing this when using WiX. 

 Specifically, DIFxApp is the easies way to install drivers correctly using
 WiX. 

 If you have a single .inf file that describes the port monitor and then
 describes the printer driver, then you need only one Component for the 2
 drivers in WiX. 
I'm sorry but I can not follow here. IMHO it does not matter if I
use an own component or not. And well as I just can tell, the stuff
from the printer driver gets installed properly in the directory where
it is searched for. However that seems not to work for the Port
Monitor. I helped myself with installing the Monitor in a custom
action after having installed all the files. I can not tell if that is
supposed to be the way to go or not. The docs do not mention anything
about that.

 lightArgs: projectname.wixobj
 C:\WINDDK\6000\redist\DIFx\DIFxApp\English\WixLib\x86\difxapp.wixlib -out
 projectname.msi extensions


 ClassFilter.wxs is a great example of this given in the DDK:
 C:\WinDDK\6000\src\setup\DIFxApp\WiXLib
Well I can not see hot this helps with my problem of installing a
unidrv based printer driver with a proper port monitor. 

Regards
Friedrich

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Port monitor + printer driver

2007-04-10 Thread Stefan Pavlik
What about the DPInst.exe from DIFxApp (see
http://msdn2.microsoft.com/en-us/library/aa370579.aspx)
It is part of WDK. It is standalone binary and by default it will
try to install all drivers in the working directory.

I am using the DPInst.exe to install the PnP drivers for PCMCIA
adapters and it is working well. If this will not work then the
DIFxApp framework will not help you.

regards

Stefan

Friedrich Dominicus wrote:
 Ok, here we go again. Is there anothe way to install a port monitor
 and a printer driver from one installer file. Or do one has to write
 setup program which internally first run msiexec on the port monitor
 and afterwards the printer driver, in which one then can run a custom
 action to add the PrinterMonitor and a Printer?
 
 Regards
 Friedrich
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Port monitor + printer driver

2007-04-10 Thread Trevor Clifton
DPInst.exe is the round about way of doing this when using WiX. 

Specifically, DIFxApp is the easies way to install drivers correctly using
WiX. 

If you have a single .inf file that describes the port monitor and then
describes the printer driver, then you need only one Component for the 2
drivers in WiX. 

If you have 2 .inf files, one to describe the Port driver, and the other to
describe the printer driver, then you will have 2 components, one for each
inf and accompanying driver files. Make sure each inf file is in its own
directory once copied to the system, and is accompanied by all of the files
that it needs to install.

Read the docs on Component Element and look specifically at the DIFxApp
specific attributes that you must add to make that component get installed
correctly.

You will then include the ComponentRef(s) in the Feature that you want them
to be installed with. 

Be sure to use WiX v2 to link to the difxapp.wixlib binaries (because there
is a problem with v3), like this:

lightArgs: projectname.wixobj
C:\WINDDK\6000\redist\DIFx\DIFxApp\English\WixLib\x86\difxapp.wixlib -out
projectname.msi extensions


ClassFilter.wxs is a great example of this given in the DDK:
C:\WinDDK\6000\src\setup\DIFxApp\WiXLib



Here is some sample code of what I am describing:


?xml version=1.0 encoding=utf-8?
!--
lightArgs: projectname.wixobj
C:\WINDDK\6000\redist\DIFx\DIFxApp\English\WixLib\x86\difxapp.wixlib -out
projectname.msi extensions
--
Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
  Product UpgradeCode= Name=ClassFilter Id= Version=1.0.0
Manufacturer=Microsoft Language=1033
Package Id=xxx Manufacturer=Microsoft InstallerVersion=200
Platforms=Intel Languages=1033 Compressed=yes SummaryCodepage=1252
/
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=DRVDIR Name=Drivers
Directory Id=DRVDIR_PORT Name=PORT SourceName=.
  Component Id=C__Driver1 Guid=xxx DriverForceInstall=no
DriverSequence=0
File Id=DRV1_INF Name=PortDrv.INF Vital=yes KeyPath=yes
DiskId=1 /
File Id=DRV1_CAT Name=Port.CAT Vital=yes KeyPath=no
DiskId=1 /
File Id=DRV1_SYS Name=Port.SYS Vital=yes KeyPath=no
DiskId=1 /
  /Component
/Directory
Directory Id=DRVDIR_PRINTER Name=PRINTER SourceName=.
  Component Id=C__Driver2 Guid=xxx DriverForceInstall=no
DriverSequence=0
File Id=DRV2_INF Name=PrntrDrv.INF Vital=yes
KeyPath=yes DiskId=1 /
File Id=DRV2_CAT Name=Printer.CAT Vital=yes KeyPath=no
DiskId=1 /
File Id=DRV2_SYS Name=Printer.SYS Vital=yes KeyPath=no
DiskId=1 /
  /Component
  Directory Id=ProgramMenuFolder Name=. SourceName=USER'S~1
LongSource=User's Programs Menu /
/Directory
  /Directory
  Directory Id=DesktopFolder Name=. SourceName=USER'S~2
LongSource=User's Desktop /
/Directory
Feature Id=DefaultFeature Level=1
ConfigurableDirectory=TARGETDIR
  ComponentRef Id=C__Driver1 /
  ComponentRef Id=C__Driver2 /
/Feature
Media Id=1/
UI /
  /Product
/Wix



Good Luck,

-Trevor


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan Pavlik
Sent: Tuesday, April 10, 2007 2:56 AM
To: Friedrich Dominicus
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Port monitor + printer driver

What about the DPInst.exe from DIFxApp (see
http://msdn2.microsoft.com/en-us/library/aa370579.aspx)
It is part of WDK. It is standalone binary and by default it will
try to install all drivers in the working directory.

I am using the DPInst.exe to install the PnP drivers for PCMCIA
adapters and it is working well. If this will not work then the
DIFxApp framework will not help you.

regards

Stefan

Friedrich Dominicus wrote:
 Ok, here we go again. Is there anothe way to install a port monitor
 and a printer driver from one installer file. Or do one has to write
 setup program which internally first run msiexec on the port monitor
 and afterwards the printer driver, in which one then can run a custom
 action to add the PrinterMonitor and a Printer?
 
 Regards
 Friedrich
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
Take Surveys. Earn Cash. Influence the Future of IT
Join

Re: [WiX-users] Port monitor + printer driver

2007-04-05 Thread fiordean dacian
Isn't that your custom action is not scheduled correctly? I mean you should 
instruct the system to create a port monitor once your 'monitor file' was 
extracted from msi, right?

Dacian


- Original Message 
From: Friedrich Dominicus [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Wednesday, April 4, 2007 7:03:26 AM
Subject: Re: [WiX-users] Port monitor + printer driver

fiordean dacian [EMAIL PROTECTED] writes:

 I guess this is rather a system problem than Windows Installer. The quick
 answer is yes, you can install your printer monitor and driver from one
 installer file.
Ok, if that does work how? 

 Is this accepted by the system? 
Problem: the port monitor has to find it's way into the System32
folder but the files are not installed at least up to
MsiProcessDrivers and as I was suprised to see much later. So while
running a custom action to add the Monitor the file with the monitor
is still not accessible on the disk. It's in the .msi file of
course. But it seems there is no easy way to just pick it out and
install it manually 

You will have to check that
 yourself.
I did and therfor I asked if there is a way. Cause I did not found it.

Regards
Friedrich

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html-
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Port monitor + printer driver

2007-04-03 Thread Friedrich Dominicus
Ok, here we go again. Is there anothe way to install a port monitor
and a printer driver from one installer file. Or do one has to write
setup program which internally first run msiexec on the port monitor
and afterwards the printer driver, in which one then can run a custom
action to add the PrinterMonitor and a Printer?

Regards
Friedrich

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Port monitor + printer driver

2007-04-03 Thread fiordean dacian

I guess this is rather a system problem than Windows Installer. The quick 
answer is yes, you can install your printer monitor and driver from one 
installer file. Is this accepted by the system? You will have to check that 
yourself.

Dacian



- Original Message 
From: Friedrich Dominicus [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Tuesday, April 3, 2007 5:53:45 PM
Subject: [WiX-users] Port monitor + printer driver

Ok, here we go again. Is there anothe way to install a port monitor
and a printer driver from one installer file. Or do one has to write
setup program which internally first run msiexec on the port monitor
and afterwards the printer driver, in which one then can run a custom
action to add the PrinterMonitor and a Printer?

Regards
Friedrich

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html-
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Port monitor + printer driver

2007-04-03 Thread Friedrich Dominicus
fiordean dacian [EMAIL PROTECTED] writes:

 I guess this is rather a system problem than Windows Installer. The quick
 answer is yes, you can install your printer monitor and driver from one
 installer file.
Ok, if that does work how? 

 Is this accepted by the system? 
Problem: the port monitor has to find it's way into the System32
folder but the files are not installed at least up to
MsiProcessDrivers and as I was suprised to see much later. So while
running a custom action to add the Monitor the file with the monitor
is still not accessible on the disk. It's in the .msi file of
course. But it seems there is no easy way to just pick it out and
install it manually 

You will have to check that
 yourself.
I did and therfor I asked if there is a way. Cause I did not found it.

Regards
Friedrich

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users