[WiX-users] How to install a printer?

2010-02-03 Thread Thorsten Schöning
Hello,

we built a installer for a software which relies on FreePDF XP and a
specifically created FreePDF XP-printer with settings to start our
software after creating a PDF. At the moment we provide an
installation guide and the needed configuration file for the FreePDF
printer and the user has to make the needed changes. Of course we woo
like to add this functionality to our software installer.

Is WiX able to install printers with a special name and a special
driver? What would be the best approach to do so? I didn't find a
printer-tag or stuff like that, but Difxapp Extension seems to handle
driver installation in general. Can this be used for printers, too? Or
is the only way some kind of custom actions with using command line
tools, VBScripts or helper programs?

Thanks for showing me any direction.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install a printer?

2010-02-03 Thread Ryan O'Neill
Hi,

Yes, you can install printer drivers and we've done it through C++ Custom
Actions (not my choice, the code was there) although I recommend you use
difx driver extensions as a printer driver is just another driver. One thing
that is a right pain is driver signing so make sure you get signed drivers
if you can (signed by the quality labs @ MS) as this will prevent nasty
popup boxes with warnings.

Difx is an MSI technology from what I understand and the WiX stuff is just a
layer over that so the best source of data on this will be MSDN.

Oh yes, don't use VBScripts unless you are in a controlled environment as we
still have some of those left in our build and they cause problems.

Regards

Ryan

-Original Message-
From: Thorsten Schöning [mailto:tschoen...@am-soft.de] 
Sent: 03 February 2010 07:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to install a printer?

Hello,

we built a installer for a software which relies on FreePDF XP and a
specifically created FreePDF XP-printer with settings to start our
software after creating a PDF. At the moment we provide an
installation guide and the needed configuration file for the FreePDF
printer and the user has to make the needed changes. Of course we woo
like to add this functionality to our software installer.

Is WiX able to install printers with a special name and a special
driver? What would be the best approach to do so? I didn't find a
printer-tag or stuff like that, but Difxapp Extension seems to handle
driver installation in general. Can this be used for printers, too? Or
is the only way some kind of custom actions with using command line
tools, VBScripts or helper programs?

Thanks for showing me any direction.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install a printer?

2010-02-03 Thread Thorsten Schöning
Guten Tag Ryan O'Neill,
am Mittwoch, 3. Februar 2010 um 09:12 schrieben Sie:

 One thing
 that is a right pain is driver signing so make sure you get signed drivers
 if you can (signed by the quality labs @ MS) as this will prevent nasty
 popup boxes with warnings.

We would need to install a standard Windows-driver for Apple XY to get
FreePDF working, so we can't influence this one, I think.

 Difx is an MSI technology from what I understand and the WiX stuff is just a
 layer over that so the best source of data on this will be MSDN.

Thanks, than I will have a look at Difx and Co.

 Oh yes, don't use VBScripts unless you are in a controlled environment as we
 still have some of those left in our build and they cause problems.

I don't want to burn my fingers, too. ;-)

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Refresh Edit Box Control

2010-02-03 Thread bibhash phukon
Hi,

Is there any way to refresh the Edit box control, so as to set text from
a custom action and avoid another identical dialog box.

Thanks

Bibhash Phukon.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to rename an existing file after installation (major upgrade)?

2010-02-03 Thread Nicole Zheng

When my application runs for the 1st time, it creates a file named devcie.txt
under the installation folder.
Since the file name is a typo (should be device.txt), I want to provide a
higher version .msi to perform a major upgrade and rename the file during
the installation.

My code is like:
Property Id=QtExecCmdLine Value=rename quot;C:\Program
Files\MyApp\Devcie.txtquot; Device.txt /
CustomAction Id=QtExecExample BinaryKey=WixCA
DllEntry=CAQuietExec Execute=immediate Return=check/
.
.
.
InstallExecuteSequence
  Custom Action=QtExecExample After=InstallFinalize/
/InstallExecuteSequence

But it doesn't work. The error logs:
CAQuietExec:  Command string must begin with quoted application name.
CAQuietExec:  Error 0x80070057: invalid command line property value
CAQuietExec:  Error 0x80070057: failed to get Command Line

Look forward your help. Thanks a lot.


-- 
View this message in context: 
http://n2.nabble.com/How-to-rename-an-existing-file-after-installation-major-upgrade-tp4506348p4506348.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] First user impressions and questions

2010-02-03 Thread Matteo Nicolotti

Hi everybody, i just joined my first mailing list of my life, so please be 
patient and understand that sometimes i may look rude just because i don't know 
how to behave in there.

 

In primis, I'm not a programmer in the strict terms, so i'm not really used to 
use tools similar to wix, 

but starting from some well done tutorial and example i managed to make my 
first game installer in a pair of days, mostry thanks to the

quite straightforward structure of Wix.

 

I'm using Wix with sharp-develop and a user made dll to check for .net 
installation version, xna framework, directx and then to install the game files.

 

The main problem here is that the current project is actually able to compress 
the Xna fw and DirectX redist inside the msi file, while the .net installer is 
only checked and then linked.

 

I would like to have the .Net installer included in the msi package so that a 
user can download and install everything in a single step.

 

Since i am not a good programmer after-all, i was thinking of including the 
.net installer as a game-file, then somehow run it before

the game starts, but the xna installer won't install itself, prompting the user 
to download the .net then retry.

 

So i urge to know how can i add the .net installer executable to the msi file, 
run it at the start of the installing procedure, wait for it to

do its job, then progress with the installation of the game.

 

 
  
_
Hotmail: posta elettronica con funzioni avanzate e gratuita, con la protezione 
Microsoft.
https://signup.live.com/signup.aspx?id=60969
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Some questions regarding shared components, custom actions and properties

2010-02-03 Thread Alessandro Morelli
Hi all,
I'm trying to code an installer for my applications and the framework they
use and since I reuse the framework a lot, I'd like to concoct a wixlib with
all the necessary pieces

So far, I managed to structure a single wxs which seems to do the job, but
I'm stumbling on some problems.

I want to deploy the framework and the supporting libs once, so I created a
hierarchy under CommonFIlesFolder:

Directory Id=CommonFilesFolder Name=CFiles
Directory Id=QtCommonDir Name=Qt4
Directory Id=Qt4Dir Name=gcc4
Directory Id=Qt4Bin Name=bin
Component Id=QtCore4.dll Guid=D842C046-04F7-4EFB-AC83-BE2ADB20FCA2
File Id=QtCore4.dll Name=QtCore4.dll
Source=..\..\..\Qt\2010.01\qt\bin\QtCore4.dll DefaultLanguage=0 /
/Component
/Directory
Directory Id=Qt4Libs Name=lib
Component Id=mingwm10.dll Guid=F732AB20-7554-44E6-9A1B-3547CF809B6D
 File Id=mingwm10.dll Name=mingwm10.dll
Source=..\..\..\Qt\2010.01\qt\bin\mingwm10.dll /
/Component
Component Id=libgcc_s_dw2_1.dll
Guid=17235686-4DDC-40CA-9D54-4483BA19F26B
File Id=libgcc_s_dw2_1.dll Name=libgcc_s_dw2-1.dll
Source=..\..\..\Qt\2010.01\qt\bin\libgcc_s_dw2-1.dll /
/Component
/Directory
Directory Id=Qt4Plugins Name=plugins
/Directory
Component Id=QtDir Guid=B09DC47D-C5AE-4614-8D6A-437227391ADB
IniFile Id=qt.conf Action=createLine Key=Prefix Name=qt.conf
Section=Paths Value=[$QtDir] Directory=INSTALLDIR /
CreateFolder /
/Component
/Directory
/Directory
/Directory

The components under this tree will be shared by all my apps, installed
under ProgramFilesFolder:
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=VendorDir Name=$(var.VendorName)
Directory Id=INSTALLDIR Name=$(var.ProductName)
Component Id=Placeholder Guid=306202B5-2936-4513-AD1E-42C6230AB8CA
File Id=README Name=README Source=..\..\..\Qt\2010.01\qt\README /
/Component
Component Id=application Guid=A4301F50-DCD7-417E-B67A-C3DDB4DD80D6
File Id=QtInfo.exe Name=QtInfo.exe
Source=..\..\QtInfo\release\QtInfo.exe KeyPath=yes /
 RegistryKey Action=createAndRemoveOnUninstall Id=AppPaths
Key=Software\Microsoft\Windows\CurrentVersion\App Paths\$(var.Executable)
Root=HKLM
RegistryValue Action=write Id=default Type=string
Value=[#QtInfo.exe] /
RegistryValue Action=write Name=Path Type=string
Value=[$application];[$QtDir]bin;[$QtDir]lib /
/RegistryKey
/Component
/Directory
/Directory
/Directory


First problem:
To specify the application paths, under the application component, I refer
to the QtDir component, soliciting an ICE69 warning and I'm not sure how to
avoid it or if I can live with it, since docs say that [$component] may
evaluate to null in certain circumstances. I tried using properties, but I'm
failing to understand fully the mechanism.

Second problem:
I'm not sure where to put the qt.conf IniFile. Currently, I have it under
a shared component, but I'm not sure if I'm violating the component rules
since the ini file gets created in a different path for each Product

Third problem:
The qt.conf is *almost* an ini file, but values are C-style escaped strings,
so backslashes must be repeated. I'd like to create a custom action to
produce the qt.conf file, but I'm not sure, after reading the docs, where to
put it in terms of execute sequence and how to access the relevant
informations (component paths and such).

What would be an appropriate course of action in these circumstances? Am I
trying a too complex project, given my level (un)familiarity with MSI?

Any help appreciated,
--alex
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] adding arbitrary files to Wix solution

2010-02-03 Thread Eran Shamir
Hi,
I have a deployment mechanism which uses an XML file to deploy .MSI files.
I want to add the file to the WIX solution only for the sake of copying it to 
the project Out folder (I won't use it in the WIX itself).
How can I achieve such behavior - when I add files to the project, the don't 
have the copy to output folder option.

Eran

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Action Condition Question

2010-02-03 Thread Daniel Skiles
Hello folks,

This is my first post here, so please let me know if I'm violating any
sort of protocol.

 

I have a WiX installer that has per-feature custom actions that need to
be executed on uninstall. Right now I'm running into a problem where the
actions execute whether or not the feature was actually installed by the
user. The custom actions fail because they expect certain resources that
are installed as part of the feature to exist.  If they haven't been
installed, the entire install is stuck in a broken state.

 

Unfortunately, I can't *not* run these custom actions due to legacy
constraints of the application that I'm wrapping.

 

What is the correct way to run a custom action if and only if its
related feature is being uninstalled? I have included the snippet that
I'm currently using below, if it helps.

 

Custom Action=LaunchUninstallCustomAction
Before=RemoveFiles![CDATA[(NOT UPGRADINGPRODUCTCODE) AND
(REMOVE=ALL) AND (FeatureName=2)]]/Custom

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to rename an existing file after installation(major upgrade)?

2010-02-03 Thread Yan Sklyarenko
Have you considered an option to put this responsibility on the
application, not installation? As you mentioned, the file is not
installed, but is created by the application, so the misprint is rather
a bug of application...

-- Yan

-Original Message-
From: Nicole Zheng [mailto:nicole.zheng...@hotmail.com] 
Sent: Wednesday, February 03, 2010 12:06
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to rename an existing file after
installation(major upgrade)?


When my application runs for the 1st time, it creates a file named
devcie.txt
under the installation folder.
Since the file name is a typo (should be device.txt), I want to provide
a
higher version .msi to perform a major upgrade and rename the file
during
the installation.

My code is like:
Property Id=QtExecCmdLine Value=rename quot;C:\Program
Files\MyApp\Devcie.txtquot; Device.txt /
CustomAction Id=QtExecExample BinaryKey=WixCA
DllEntry=CAQuietExec Execute=immediate Return=check/
.
.
.
InstallExecuteSequence
  Custom Action=QtExecExample After=InstallFinalize/
/InstallExecuteSequence

But it doesn't work. The error logs:
CAQuietExec:  Command string must begin with quoted application name.
CAQuietExec:  Error 0x80070057: invalid command line property value
CAQuietExec:  Error 0x80070057: failed to get Command Line

Look forward your help. Thanks a lot.


-- 
View this message in context:
http://n2.nabble.com/How-to-rename-an-existing-file-after-installation-m
ajor-upgrade-tp4506348p4506348.html
Sent from the wix-users mailing list archive at Nabble.com.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term
contracts
Personal 24x7 support from experience hosting pros just a phone call
away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Storing variale value after installation

2010-02-03 Thread Blair
Unfortunately that usually requires a custom action.

Are you reading a file path or something else?

-Original Message-
From: vunder [mailto:vun...@bk.ru] 
Sent: Tuesday, February 02, 2010 11:09 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Storing variale value after installation


Thanks, it works!

Next question: after reading value from registry, can I remove some symbols?
In my case I need to remove quotes from string

Property Id=SAVE_POSTNAME Secure=yes
  RegistrySearch Id=FindSavedPostName Root=HKCU
Key=Software\DFPost\DFPost40\[CONFIG_NAME]\Modules\PostManager:tPostManager

Name=UserName Type=raw/
/Property
SetProperty Id=POST_NAME Value=[SAVE_POSTNAME] After=AppSearch/

-- 
View this message in context:
http://n2.nabble.com/Storing-variale-value-after-installation-tp4500806p4505
838.html
Sent from the wix-users mailing list archive at Nabble.com.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Do not remove some files on major upgrade

2010-02-03 Thread Blair
Check the component rules.

Are your files in both packages?

Are the files in the same components in both packages?

Did the components' guids change?

Where is the RemoveExistingProducts action sequenced?

What does the verbose log say about the components those files are in?

-Original Message-
From: vunder [mailto:vun...@bk.ru] 
Sent: Tuesday, February 02, 2010 11:32 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Do not remove some files on major upgrade


When application is upgrading some files must be updated and some of them
not. But at upgrade all files are deleting. What condition I must define to
Component/File to save it on major upgrade?

-- 
View this message in context:
http://n2.nabble.com/Do-not-remove-some-files-on-major-upgrade-tp4505876p450
5876.html
Sent from the wix-users mailing list archive at Nabble.com.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] First user impressions and questions

2010-02-03 Thread Blair
The .NET installers can't be reliably installed from inside of another MSI
installer (they use MSI packages internally) since Windows Installer doesn't
support nested installations very well, so you will need some sort of
bootstrapper to install the .NET and the DirectX.

Burn isn't quite there yet, but it is getting much closer. Several other
alternatives have been mentioned in this list (search the archives for
bootstrapper).

-Original Message-
From: Matteo Nicolotti [mailto:eversor...@hotmail.com] 
Sent: Wednesday, February 03, 2010 3:19 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] First user impressions and questions


Hi everybody, i just joined my first mailing list of my life, so please be
patient and understand that sometimes i may look rude just because i don't
know how to behave in there.

 

In primis, I'm not a programmer in the strict terms, so i'm not really used
to use tools similar to wix, 

but starting from some well done tutorial and example i managed to make my
first game installer in a pair of days, mostry thanks to the

quite straightforward structure of Wix.

 

I'm using Wix with sharp-develop and a user made dll to check for .net
installation version, xna framework, directx and then to install the game
files.

 

The main problem here is that the current project is actually able to
compress the Xna fw and DirectX redist inside the msi file, while the .net
installer is only checked and then linked.

 

I would like to have the .Net installer included in the msi package so that
a user can download and install everything in a single step.

 

Since i am not a good programmer after-all, i was thinking of including the
.net installer as a game-file, then somehow run it before

the game starts, but the xna installer won't install itself, prompting the
user to download the .net then retry.

 

So i urge to know how can i add the .net installer executable to the msi
file, run it at the start of the installing procedure, wait for it to

do its job, then progress with the installation of the game.

 

 
  
_
Hotmail: posta elettronica con funzioni avanzate e gratuita, con la
protezione Microsoft.
https://signup.live.com/signup.aspx?id=60969

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Some questions regarding shared components, custom actions and properties

2010-02-03 Thread Blair
First problem: As near as I can tell from your source code, the QtDir
component is in the Directory Id=Qt4Dir Name=gcc4 directory. You could
use [QtDir] instead of [$QtDir] (referring to the Id of the directory
instead of the directory of the component) because directory Ids become
properties where the values are the full directory paths (ending in a
backslash (\) character).

Second problem: If you need separate qt.conf files in each product's
installation directory, they should live in a component under that product's
installation directory instead of being shared.

Third problem: You could sequence them right before/after the
RemoveIniValues and WriteIniValues standard actions. Remember that your
custom actions need to be deferred.

-Original Message-
From: Alessandro Morelli [mailto:atanva...@gmail.com] 
Sent: Wednesday, February 03, 2010 3:35 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Some questions regarding shared components, custom
actions and properties

Hi all,
I'm trying to code an installer for my applications and the framework they
use and since I reuse the framework a lot, I'd like to concoct a wixlib with
all the necessary pieces

So far, I managed to structure a single wxs which seems to do the job, but
I'm stumbling on some problems.

I want to deploy the framework and the supporting libs once, so I created a
hierarchy under CommonFIlesFolder:

Directory Id=CommonFilesFolder Name=CFiles
Directory Id=QtCommonDir Name=Qt4
Directory Id=Qt4Dir Name=gcc4
Directory Id=Qt4Bin Name=bin
Component Id=QtCore4.dll Guid=D842C046-04F7-4EFB-AC83-BE2ADB20FCA2
File Id=QtCore4.dll Name=QtCore4.dll
Source=..\..\..\Qt\2010.01\qt\bin\QtCore4.dll DefaultLanguage=0 /
/Component
/Directory
Directory Id=Qt4Libs Name=lib
Component Id=mingwm10.dll Guid=F732AB20-7554-44E6-9A1B-3547CF809B6D
 File Id=mingwm10.dll Name=mingwm10.dll
Source=..\..\..\Qt\2010.01\qt\bin\mingwm10.dll /
/Component
Component Id=libgcc_s_dw2_1.dll
Guid=17235686-4DDC-40CA-9D54-4483BA19F26B
File Id=libgcc_s_dw2_1.dll Name=libgcc_s_dw2-1.dll
Source=..\..\..\Qt\2010.01\qt\bin\libgcc_s_dw2-1.dll /
/Component
/Directory
Directory Id=Qt4Plugins Name=plugins
/Directory
Component Id=QtDir Guid=B09DC47D-C5AE-4614-8D6A-437227391ADB
IniFile Id=qt.conf Action=createLine Key=Prefix Name=qt.conf
Section=Paths Value=[$QtDir] Directory=INSTALLDIR /
CreateFolder /
/Component
/Directory
/Directory
/Directory

The components under this tree will be shared by all my apps, installed
under ProgramFilesFolder:
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=VendorDir Name=$(var.VendorName)
Directory Id=INSTALLDIR Name=$(var.ProductName)
Component Id=Placeholder Guid=306202B5-2936-4513-AD1E-42C6230AB8CA
File Id=README Name=README Source=..\..\..\Qt\2010.01\qt\README /
/Component
Component Id=application Guid=A4301F50-DCD7-417E-B67A-C3DDB4DD80D6
File Id=QtInfo.exe Name=QtInfo.exe
Source=..\..\QtInfo\release\QtInfo.exe KeyPath=yes /
 RegistryKey Action=createAndRemoveOnUninstall Id=AppPaths
Key=Software\Microsoft\Windows\CurrentVersion\App Paths\$(var.Executable)
Root=HKLM
RegistryValue Action=write Id=default Type=string
Value=[#QtInfo.exe] /
RegistryValue Action=write Name=Path Type=string
Value=[$application];[$QtDir]bin;[$QtDir]lib /
/RegistryKey
/Component
/Directory
/Directory
/Directory


First problem:
To specify the application paths, under the application component, I refer
to the QtDir component, soliciting an ICE69 warning and I'm not sure how to
avoid it or if I can live with it, since docs say that [$component] may
evaluate to null in certain circumstances. I tried using properties, but I'm
failing to understand fully the mechanism.

Second problem:
I'm not sure where to put the qt.conf IniFile. Currently, I have it under
a shared component, but I'm not sure if I'm violating the component rules
since the ini file gets created in a different path for each Product

Third problem:
The qt.conf is *almost* an ini file, but values are C-style escaped strings,
so backslashes must be repeated. I'd like to create a custom action to
produce the qt.conf file, but I'm not sure, after reading the docs, where to
put it in terms of execute sequence and how to access the relevant
informations (component paths and such).

What would be an appropriate course of action in these circumstances? Am I
trying a too complex project, given my level (un)familiarity with MSI?

Any help appreciated,
--alex

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net

Re: [WiX-users] adding arbitrary files to Wix solution

2010-02-03 Thread Blair
WiX 3.5 has a LayoutDirectory\LayoutFile mechanism for that. In 2.0/3.0
you will need to do that in your build environment instead of in WiX.

-Original Message-
From: Eran Shamir [mailto:eran...@microsoft.com] 
Sent: Wednesday, February 03, 2010 6:30 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] adding arbitrary files to Wix solution

Hi,
I have a deployment mechanism which uses an XML file to deploy .MSI files.
I want to add the file to the WIX solution only for the sake of copying it
to the project Out folder (I won't use it in the WIX itself).
How can I achieve such behavior - when I add files to the project, the don't
have the copy to output folder option.

Eran


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] First user impressions and questions

2010-02-03 Thread Chris Lord
I believe this is what you are suggesting.

http://msdn.microsoft.com/en-us/library/aa368010%28VS.85%29.aspx 

As the document says, this is a deprecated feature and should not be 
used.  

Instead, you need to use a bootstrapper to call the required installers 
one at a time.

-Original Message-
From: Matteo Nicolotti [mailto:eversor...@hotmail.com] 
Sent: Wednesday, February 03, 2010 06:19
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] First user impressions and questions


Hi everybody, i just joined my first mailing list of my life, so please 
be patient and understand that sometimes i may look rude just because i 
don't know how to behave in there.

 

In primis, I'm not a programmer in the strict terms, so i'm not really 
used to use tools similar to wix, 

but starting from some well done tutorial and example i managed to make 
my first game installer in a pair of days, mostry thanks to the

quite straightforward structure of Wix.

 

I'm using Wix with sharp-develop and a user made dll to check for .net 
installation version, xna framework, directx and then to install the 
game files.

 

The main problem here is that the current project is actually able to 
compress the Xna fw and DirectX redist inside the msi file, while the 
.net installer is only checked and then linked.

 

I would like to have the .Net installer included in the msi package so 
that a user can download and install everything in a single step.

 

Since i am not a good programmer after-all, i was thinking of including 
the .net installer as a game-file, then somehow run it before

the game starts, but the xna installer won't install itself, prompting 
the user to download the .net then retry.

 

So i urge to know how can i add the .net installer executable to the msi 
file, run it at the start of the installing procedure, wait for it to

do its job, then progress with the installation of the game.

 

 
  
_
Hotmail: posta elettronica con funzioni avanzate e gratuita, con la 
protezione Microsoft.
https://signup.live.com/signup.aspx?id=60969

--
The Planet: dedicated and managed hosting, cloud storage, colocation 
Stay online with enterprise data centers and the best network in the 
business Choose flexible plans and management services without long-term 
contracts Personal 24x7 support from experience hosting pros just a 
phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Set a property value based on checkbox state

2010-02-03 Thread Alex Ivanoff
I must be missing something obvious but I do not seem to find an answer to this 
simple question. I need to set a property value to 1 if checkbox is checked, 
and to value 2 if checkbox is not checked.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] list of all standard control events

2010-02-03 Thread Sanjay Rao
Hi,

I want to get a list of all standard control events used in publish 
element. Can anybody help me out ?

Regards,
Sanjay Rao



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users