Re: [WiX-users] Burn Variables and the WixStandardBootstrapperApplication

2011-11-28 Thread Nicolas Penin
I don't know about wixstdba, but the managed ba actually parses (at least) the 
param /log logfile.txt

Regards,
Nicolas Penin

-Message d'origine-
De : Rob Mensching [mailto:r...@robmensching.com] 
Envoyé : lundi 28 novembre 2011 22:07
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Burn Variables and the 
WixStandardBootstrapperApplication

The wixstdba doesn't parse anything from the command line today.

On Mon, Nov 28, 2011 at 11:50 AM, Ian Williams iawil...@microsoft.comwrote:

 I'm trying to pass variables into a burn bundle like this:

 MyInstaller.exe SOME_VARIABLE=true

 I found a thread saying that variables passed into a burn bundle are 
 given to the BootstrapperApplication, which may create variables from 
 them.  I'm using WixStandardBootstrapperApplication.RtfLicense as my 
 BootstrapperApplicationRef. Does this not create Variables from values 
 passed in like this? The logs show no such variable being created.

 If I add Variable Name= SOME_VARIABLE  Type=string Value=false 
 /, then the value is simply false.

 Thanks,
 Ian

 --
  All the data continuously generated in your IT infrastructure 
 contains a definitive record of customers, application performance, 
 security threats, fraudulent activity, and more. Splunk takes this 
 data and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-novd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to run a sql script in SQLCMD Mode using WIX Tool

2011-11-24 Thread Nicolas Penin
I had the same concern. Actually this solution implies to have the SQLCMD tool 
on the machine you're running the installer on. The only workaround I could 
find for this was to make myself a customaction which parses the script (with 
regex) to replace $() by some value and remove :setvar. Additionnally, since 
ADO.NET does not supports GO in CommandText, I also had to split the script on 
GO. No I can say it works pretty well.

Hope it helps also.

Nicolas Penin 


-Message d'origine-
De : Neil Sleightholm [mailto:n...@x2systems.com] 
Envoyé : jeudi 24 novembre 2011 16:20
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] how to run a sql script in SQLCMD Mode using WIX Tool

Does this help http://neilsleightholm.blogspot.com/search/label/SQL

Neil

On 24 Nov 2011, at 14:39, Nageswara wrote:

Hi Team,

Can you please let me know how to run a sql script in SQLCMD Mode using WIX Tool



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-run-a-sql-script-in-SQLCMD-Mode-using-WIX-Tool-tp7028337p7028337.html
Sent from the wix-users mailing list archive at Nabble.comhttp://Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to run a sql script in SQLCMD Mode using WIX Tool

2011-11-24 Thread Nicolas Penin
Hi,

Here is the code I use :

static Regex GoRegex = new Regex(^GO, RegexOptions.Compiled | 
RegexOptions.Multiline);

public static bool SqlCmd(string connectionString, string 
dbName, string installPath, string sqlScript)
{
try
{
Regex setVar = new Regex(@^:(setvar|on error) 
.*$, RegexOptions.Compiled | RegexOptions.Multiline);
Regex variable = new 
Regex(@\$\((?variableName[^\)]+)\), RegexOptions.Compiled | 
RegexOptions.Multiline);
sqlScript = 
variable.Replace(setVar.Replace(sqlScript, ),
match =
{
switch 
(match.Groups[variableName].Value)
{
case DatabaseName:
return dbName;
case DefaultDataPath:
case DefaultLogPath:
case CustomDataPath:
case CustomLogPath:
if 
(string.IsNullOrEmpty(installPath))
return 
DatabaseHelper.GetDefaultDataPath(connectionString);
return 
installPath;
}
return match.Value;
});
log.Debug(sqlScript);

using (SqlConnection connection = new 
SqlConnection(connectionString))
{
connection.Open();
var command = 
connection.CreateCommand();
foreach (string sql in 
GoRegex.Split(sqlScript))
{
command.CommandText = sql;
command.ExecuteNonQuery();
}
}
return true;
}
catch (Exception ex)
{
log.Error(ex);
return false;
}
}

Nicolas Penin 


-Message d'origine-
De : Nageswara [mailto:nag_mittapa...@yahoo.com] 
Envoyé : jeudi 24 novembre 2011 16:48
À : wix-users@lists.sourceforge.net
Objet : Re: [WiX-users] how to run a sql script in SQLCMD Mode using WIX Tool

Hi Nicolas,

Thanks for the reply. I am new to WIX and would appreciate if you could you 
give me an example sample code.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-run-a-sql-script-in-SQLCMD-Mode-using-WIX-Tool-tp7028337p7028595.html
Sent from the wix-users mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] PhysicalMemory issue

2011-11-23 Thread Nicolas Penin
Hi all,

I am adding Launch conditions to my installer made with wix 3.6. However, I am 
fighting with the PhysicalMemory property which actually reports the ram usable 
and not the installed ram on a 32-bit Windows 7.

Do you have any other property in mind that could work around this issue ?

Thanks,
Nicolas Penin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed bootstrapper application issue

2011-11-22 Thread Nicolas Penin
Unfortunately not :(. If it can help, I am trying on a Virtual machine on 
Windows 7 (both host and VM). 

I thought it could come from integration components since Bob Arnson directed 
me to a SSO issue. So I tried without activating them on the VM, with no luck.

Cordialement,
Nicolas Penin


-Message d'origine-
De : Rob Mensching [mailto:r...@robmensching.com] 
Envoyé : mardi 22 novembre 2011 17:57
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Managed bootstrapper application issue

That sounds awfully mysterious. Have you been able to diagnose the problem any 
further?

On Thu, Nov 10, 2011 at 2:55 AM, Nicolas Penin n.pe...@happly.fr wrote:

 Does no one has an idea ?

 Regards,
 Nicolas Penin

 -Message d'origine-
 De : Nicolas Penin [mailto:n.pe...@happly.fr] Envoyé : lundi 7 
 novembre 2011 06:18 À : General discussion for Windows Installer XML 
 toolset.
 Objet : Re: [WiX-users] Managed bootstrapper application issue

 But why would it fail when the bootstrapper reloads by itself, and if 
 I close it and re-open it by myself, it works ?

 Cordialement,
 Nicolas Penin

 -Message d'origine-
 De : Bob Arnson [mailto:b...@joyofsetup.com] Envoyé : dimanche 6 
 novembre
 2011 15:16 À : wix-users@lists.sourceforge.net Objet : Re: [WiX-users] 
 Managed bootstrapper application issue

 On 03-Nov-11 04:49, Nicolas Penin wrote:
  [0F8C:0F90][2011-11-03T09:47:10]: Loading prerequisite bootstrapper
 application because managed host could not be loaded, error: 0x80131700.

 See http://support.microsoft.com/kb/2252691.

 --
 sig://boB
 http://joyofsetup.com/



 --
 
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




 --
 
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




 --
 
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Nicolas Penin
Hi all,

I think this is a bug in wix :


I have a variable containing a semi colon.

From this variable and many others, I build another variable that I use as 
custom action data.

Unfortunately, the custom action data is cut because of the semi-colon. If I 
replace the semi-colon by a comma, it works perfectly.

Is there any work around against this issue ?

Regards,
Nicolas Penin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Nicolas Penin
Forgot to mention : I am using wix 3.6.

Regards,
Nicolas Penin

-Message d'origine-
De : Nicolas Penin [mailto:n.pe...@happly.fr] 
Envoyé : jeudi 17 novembre 2011 17:28
À : General discussion for Windows Installer XML toolset.
Objet : [WiX-users] Bug with Semi colon in Custom action data

Hi all,

I think this is a bug in wix :


I have a variable containing a semi colon.

From this variable and many others, I build another variable that I use as 
custom action data.

Unfortunately, the custom action data is cut because of the semi-colon. If I 
replace the semi-colon by a comma, it works perfectly.

Is there any work around against this issue ?

Regards,
Nicolas Penin

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Nicolas Penin
Ok, forget me, it was the equal before my variable that was causing the issue. 
I'll hang me when my installer is finished ;)

Regards,
Nicolas Penin


-Message d'origine-
De : Nicolas Penin [mailto:n.pe...@happly.fr] 
Envoyé : jeudi 17 novembre 2011 17:33
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Bug with Semi colon in Custom action data

Forgot to mention : I am using wix 3.6.

Regards,
Nicolas Penin

-Message d'origine-
De : Nicolas Penin [mailto:n.pe...@happly.fr] Envoyé : jeudi 17 novembre 2011 
17:28 À : General discussion for Windows Installer XML toolset.
Objet : [WiX-users] Bug with Semi colon in Custom action data

Hi all,

I think this is a bug in wix :


I have a variable containing a semi colon.

From this variable and many others, I build another variable that I use as 
custom action data.

Unfortunately, the custom action data is cut because of the semi-colon. If I 
replace the semi-colon by a comma, it works perfectly.

Is there any work around against this issue ?

Regards,
Nicolas Penin

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed bootstrapper application issue

2011-11-10 Thread Nicolas Penin
Does no one has an idea ?

Regards,
Nicolas Penin

-Message d'origine-
De : Nicolas Penin [mailto:n.pe...@happly.fr] 
Envoyé : lundi 7 novembre 2011 06:18
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Managed bootstrapper application issue

But why would it fail when the bootstrapper reloads by itself, and if I close 
it and re-open it by myself, it works ?

Cordialement,
Nicolas Penin

-Message d'origine-
De : Bob Arnson [mailto:b...@joyofsetup.com] Envoyé : dimanche 6 novembre 2011 
15:16 À : wix-users@lists.sourceforge.net Objet : Re: [WiX-users] Managed 
bootstrapper application issue

On 03-Nov-11 04:49, Nicolas Penin wrote:
 [0F8C:0F90][2011-11-03T09:47:10]: Loading prerequisite bootstrapper 
 application because managed host could not be loaded, error: 0x80131700.

See http://support.microsoft.com/kb/2252691.

--
sig://boB
http://joyofsetup.com/


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Advanced Wix based installer

2011-11-08 Thread Nicolas Penin
Hi,

It's hard to answer without your wxs, but for the WixUI_Mode, I would say you 
need to make a PropertyRef instead a Property.


-Message d'origine-
De : Neville Lewis [mailto:neville.le...@gmail.com] 
Envoyé : mardi 8 novembre 2011 10:10
À : wix-users@lists.sourceforge.net
Objet : [WiX-users] Advanced Wix based installer

Hello everyone,

I need to create a multi-language installer for a windows application. I need 
help in creating an installer using WiX, which does the following during 
installation:


   1. Prompt user for language selection.
   2. Proceed with installation in selected language.
   3. Skip the license agreement window.
   4. Prompt to install for self or all users on the pc.
   5. Prompt for feature list to install.
   6. Prompt for folder to install into with default folder already
   displayed. Creates a folder if it doesn't already exist.
   7. Install application binaries in selected language to selected path.
   8. Run a custom application immediately after clicking finish. even one
   step before finish would do.
   9. While un-installing, the language should be the language it was
   installed in.

Of the list above I have only managed to get point 3  5 to work, with point 6 
partially; the default folder is not what I want it to be. It goes by default 
to program files.

I seem to be running into these types of errors very often when building the 
project in Visual studio 2008:
The primary key '..' is duplicated in table 'ControlEvent' 
The primary key 'WixUI_Mode' is duplicated in table 'Property'. 

This error below I get when I change the location settings on the pc and I 
attempt to run the .msi file.
Error applying transforms. Verify that the specified transforms paths are 
valid.

Any sample script for getting the points I have not been able to accomplish as 
mentioned above? Also some tips on what to do when I run into the transforms 
errors on a generated MSI file. What changes do I need to make?
What is the cause of the problem?

Thanks for your time.
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn - what's the difference between InstallConditionand DetectCondition?

2011-11-08 Thread Nicolas Penin
The DetectCondition helps you know whether the package is installed or not. 
The InstallCondition allows you to choose to install a package even if the 
DetectCondition is true, or to choose not to install a package if the 
DetectCondition is False.

I use it because I have to install SqlExpress in a specific case (depending on 
my UI), the detect condition helps me to know whether it is already installed, 
and the install condition has to be true (my specific case) to allow the 
installation of SQLExpress.

Does it make sense ?

Regards,
Nicolas Penin


-Message d'origine-
De : Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Envoyé : mardi 8 novembre 2011 16:26
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Burn - what's the difference between 
InstallConditionand DetectCondition?

I've not looked at Burn but I would guess you could install something under a 
wider variety of conditions that it just being already present or not. For 
instance you might want to install a package based on OS or language or on the 
presence of other products. 

-Original Message-
From: Aled Hughes [mailto:trestlemon...@gmail.com]
Sent: 08 November 2011 15:22
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Burn - what's the difference between InstallConditionand 
DetectCondition?

With burn, what is the difference between the DetectCondition and 
InstallCondition on the ExePackage element? I noticed that the NetFx4.wxs 
file in the WiX sources uses DetectCondition to seemingly prevent installation 
of .Net4 if it is already installed - but isn't InstallCondition the same?
-
-
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn - what's the difference between InstallConditionand DetectCondition?

2011-11-08 Thread Nicolas Penin
For the first part, I can say yes. I have not tested yet the second assumption, 
but I hope it works as you (and I) expect it.

Regards,
Nicolas Penin


-Message d'origine-
De : Aled Hughes [mailto:trestlemon...@gmail.com] 
Envoyé : mardi 8 novembre 2011 16:56
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Burn - what's the difference between 
InstallConditionand DetectCondition?

Am I right in deducing that InstallCondition, if specified, will override 
DetectCondition? So if InstallCondition=False, the package will not get 
installed regardless of DetectCondition. Likewise, if InstallCondition=True, 
the package is always installed regardless of DetectCondition.

or is is that if InstallCondition=True then package is installed only if 
DetectCondtion=False?


On 8 November 2011 15:30, Nicolas Penin n.pe...@happly.fr wrote:

 The DetectCondition helps you know whether the package is installed or not.
 The InstallCondition allows you to choose to install a package even if 
 the DetectCondition is true, or to choose not to install a package if 
 the DetectCondition is False.

 I use it because I have to install SqlExpress in a specific case 
 (depending on my UI), the detect condition helps me to know whether it 
 is already installed, and the install condition has to be true (my 
 specific
 case) to allow the installation of SQLExpress.

 Does it make sense ?

 Regards,
 Nicolas Penin


 -Message d'origine-
 De : Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Envoyé : mardi 8 
 novembre 2011 16:26 À : General discussion for Windows Installer XML 
 toolset.
 Objet : Re: [WiX-users] Burn - what's the difference between 
 InstallConditionand DetectCondition?

 I've not looked at Burn but I would guess you could install something 
 under a wider variety of conditions that it just being already present 
 or not. For instance you might want to install a package based on OS 
 or language or on the presence of other products.

 -Original Message-
 From: Aled Hughes [mailto:trestlemon...@gmail.com]
 Sent: 08 November 2011 15:22
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Burn - what's the difference between 
 InstallConditionand DetectCondition?

 With burn, what is the difference between the DetectCondition and 
 InstallCondition on the ExePackage element? I noticed that the 
 NetFx4.wxs file in the WiX sources uses DetectCondition to seemingly 
 prevent installation of .Net4 if it is already installed - but isn't 
 InstallCondition the same?

 --
 ---
 -
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 SDL PLC confidential, all rights reserved.
 If you are not the intended recipient of this mail SDL requests and 
 requires that you delete it without acting upon or copying any of its 
 contents, and we further request that you advise us.
 SDL PLC is a public limited company registered in England and Wales.
  Registered number: 02675207.
 Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire 
 SL6 7DY, UK.



 --
 
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




 --
 
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix or MSI bug ?

2011-11-08 Thread Nicolas Penin
I think it's my mistake. The property was also declared in directories. 
However, if I remove it, it's never assigned. Must be missing something in the 
installexecutesequence. Sorry to have made you loosing your time.

Sent from my iPod touch

Le 8 nov. 2011 à 18:58, Wilson, Phil phil.wil...@invensys.com a écrit :

 Mmm, odd. I just did a standard AppSearch/FileSearch using only the MSI 
 tables and a search for msi.dll in the System folder does not return a 
 trailing slash on the end of the file name, using MSI 4.5. WiX doesn't get in 
 the middle of a standard file search does it? 
 
 Phil Wilson 
 
 
 -Original Message-
 From: Pally Sandher [mailto:pally.sand...@iesve.com] 
 Sent: Tuesday, November 08, 2011 2:19 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Wix or MSI bug ?
 
 Phil the bug is that the path returned by FileSearch is of the format 
 C:\Directory\Filename.ext\
 The trailing slash after the filename makes the path returned by FileSearch 
 all but useless unless you use a custom action to remove it first, in which 
 case you may as well just use a custom action to return the correct value in 
 the first place.
 
 Palbinder Sandher 
 Software Platform Engineer 
 T:+44 (0) 141 945 8500
 F:+44 (0) 141 945 8501
 http://www.iesve.com 
 
 **Design, Simulate + Innovate with the Virtual Environment** 
 Integrated Environmental Solutions Limited. Registered in Scotland No. 
 SC151456
 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow 
 G20 0SP
 Email Disclaimer 
 
 
 -Original Message-
 From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
 Sent: 07 November 2011 17:58
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Wix or MSI bug ?
 
 And most Windows Installer paths end with a \ too, in the path properties. 
 
 Phil Wilson 
 
 
 -Original Message-
 From: Pally Sandher [mailto:pally.sand...@iesve.com] 
 Sent: Monday, November 07, 2011 6:45 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Wix or MSI bug ?
 
 Old bug with FileSearch which has been closed but never actually fixed as 
 far as I can see - 
 http://sourceforge.net/tracker/?func=detailatid=642714aid=1648267group_id=105970
   
 http://sourceforge.net/tracker/index.php?func=detailaid=1273447group_id=105970atid=642714
 
 Palbinder Sandher 
 Software Platform Engineer 
 T: +44 (0) 141 945 8500
 F: +44 (0) 141 945 8501
 http://www.iesve.com 
 
 **Design, Simulate + Innovate with the Virtual Environment** 
 Integrated Environmental Solutions Limited. Registered in Scotland No. 
 SC151456
 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow 
 G20 0SP
 Email Disclaimer 
 
 
 
 -Original Message-
 From: Nicolas Penin [mailto:n.pe...@happly.fr] 
 Sent: 07 November 2011 09:02
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Wix or MSI bug ?
 
 Dear all,
 
 I believe this is a bug in wix 3.6, but not sure...
 
 If I do the following :
 Property Id=SQLCMDPATH
  RegistrySearch Id=SqlBinsRegistry Root=HKLM 
 Key=SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup 
 Type=directory Name=Path
FileSearch Name=SQLCMD.EXE /
  /RegistrySearch
/Property
 
 I have the appropriate path, except it is terminating with a \
 
 If I change the Type of RegistrySearch to file, the content of SQLCMDPATH is 
 'C:\'
 
 Any idea ?
 
 Regards,
 Nicolas Penin
 
 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 *** Confidentiality Notice: This e-mail, including any associated or attached 
 files, is intended solely for the individual or entity to which it is 
 addressed. This e-mail is confidential and may well also be legally 
 privileged. If you have received it in error, you are on notice of its 
 status. Please notify the sender immediately by reply e-mail and then delete 
 this message from your system. Please do not copy it or use it for any 
 purposes, or disclose its contents to any other person. This email comes from 
 a division of the Invensys Group, owned by Invensys plc, which is a company 
 registered in England and Wales with its registered office at 3rd Floor, 40 
 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of 
 European legal entities within

[WiX-users] Wix or MSI bug ?

2011-11-07 Thread Nicolas Penin
Dear all,

I believe this is a bug in wix 3.6, but not sure...

If I do the following :
Property Id=SQLCMDPATH
  RegistrySearch Id=SqlBinsRegistry Root=HKLM 
Key=SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup 
Type=directory Name=Path
FileSearch Name=SQLCMD.EXE /
  /RegistrySearch
/Property

I have the appropriate path, except it is terminating with a \

If I change the Type of RegistrySearch to file, the content of SQLCMDPATH is 
'C:\'

Any idea ?

Regards,
Nicolas Penin

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votive compatible with VS2010 SP1?

2011-11-07 Thread Nicolas Penin
I'm using VS2010 and Wix for 2 weeks for now, and did not have any issue with 
them.

Regards,
Nicolas Penin


-Message d'origine-
De : David L. Beckwith [mailto:beckw...@interaccess.com] 
Envoyé : lundi 7 novembre 2011 14:53
À : wix-users@lists.sourceforge.net
Objet : [WiX-users] Votive compatible with VS2010 SP1?

Is Wix, Burn and Votive 3.6 compatible with the VS2010 service pack? I don't 
want to upgrade to service pack 1 if there is a problem.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Votive-compatible-with-VS2010-SP1-tp6970417p6970417.html
Sent from the wix-users mailing list archive at Nabble.com.

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed bootstrapper application issue

2011-11-06 Thread Nicolas Penin
But why would it fail when the bootstrapper reloads by itself, and if I close 
it and re-open it by myself, it works ?

Cordialement,
Nicolas Penin

-Message d'origine-
De : Bob Arnson [mailto:b...@joyofsetup.com] 
Envoyé : dimanche 6 novembre 2011 15:16
À : wix-users@lists.sourceforge.net
Objet : Re: [WiX-users] Managed bootstrapper application issue

On 03-Nov-11 04:49, Nicolas Penin wrote:
 [0F8C:0F90][2011-11-03T09:47:10]: Loading prerequisite bootstrapper 
 application because managed host could not be loaded, error: 0x80131700.

See http://support.microsoft.com/kb/2252691.

-- 
sig://boB
http://joyofsetup.com/


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed bootstrapper application issue

2011-11-03 Thread Nicolas Penin
I am using Wix 3.6.

Unfortunately, I do not see any error message :(

Here is a part of the log file :
[0F8C:0F90][2011-11-03T09:47:10]: Apply complete, result: 0x0 restart: No
[0F8C:0F90][2011-11-03T09:47:10]: Shutting down, exit code: 0x0
[0F8C:0F90][2011-11-03T09:47:10]: The prerequisites were successfully 
installed. The bootstrapper application will be reloaded.
[0F8C:0F90][2011-11-03T09:47:10]: Loading prerequisite bootstrapper application 
because managed host could not be loaded, error: 0x80131700.



Regards,
Nicolas Penin

-Message d'origine-
De : Bob Arnson [mailto:b...@joyofsetup.com] 
Envoyé : jeudi 3 novembre 2011 02:15
À : wix-users@lists.sourceforge.net
Objet : Re: [WiX-users] Managed bootstrapper application issue

On 02-Nov-11 04:45, Nicolas Penin wrote:
 I have this issue regarding the Managed Bootstrapper application :

Which version of WiX are you using?

 In the log, the only information I have is : Loading prerequisite 
 bootstrapper application because managed host could not be loaded.

Is there an error code?

-- 
sig://boB
http://joyofsetup.com/


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Managed bootstrapper application issue

2011-11-02 Thread Nicolas Penin
Hi all,

I have this issue regarding the Managed Bootstrapper application :

-  If I don't have .NET Framework 4 on Windows XP, it installs it and 
then run my .NET WPF Installation Interface.

-  If I don't have .NET Framework 4 on Windows 7, it installs it and 
then displays again the bootstrapper application instead of displaying my .NET 
WPF Installation Interface. If I close the installer and run it again, it loads 
successfully my WPF Installation Interface.

In the log, the only information I have is : Loading prerequisite bootstrapper 
application because managed host could not be loaded.

Any idea ?

Thanks,
Nicolas Penin
--
RSA#174; Conference 2012
Save $700 by Nov 18
Register now#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users