Discussion:
[WiX-users] How to bundle a configuration file in burn?
Christian Hausknecht
2012-08-13 10:08:49 UTC
Permalink
Hello folks,

I would like to build a setup file for a MS SQL Server 2008 Express Edition with a predefined configuration. One can pass a parameter /ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup file of SQLServer in which many parameters are defined. Those config files can easily be generated by the SQL Server UI-Setup Mode and therefore I would like to use them also in my bundle. Now I face the problem of how I can provide the required file and in addition which path I must define within the parameter. Is there any chance to handle that with burn?

If not I have to provide *all* needed configuration parameters "by hand" to the setup-file; this would solve the problem, but I consider this to be not very comfortable... (I would have to change this long parameter-string every time something changed...)

I hope you can give me some good advice, in order to avoid long trial and errors.


Best regards,


Mit freundlichen Grüßen


Christian Hausknecht

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG
Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
eMail: ***@beracom.de<mailto:***@beracom.de>

=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932
Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH
Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
Neil Sleightholm
2012-08-14 07:05:33 UTC
Permalink
You should be able to do this using the PayLoad element as a child of your ExePackage element.

Neil

-----Original Message-----
From: Christian Hausknecht [mailto:***@BeraCom.de]
Sent: 13 August 2012 11:09
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] How to bundle a configuration file in burn?

Hello folks,

I would like to build a setup file for a MS SQL Server 2008 Express Edition with a predefined configuration. One can pass a parameter /ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup file of SQLServer in which many parameters are defined. Those config files can easily be generated by the SQL Server UI-Setup Mode and therefore I would like to use them also in my bundle. Now I face the problem of how I can provide the required file and in addition which path I must define within the parameter. Is there any chance to handle that with burn?

If not I have to provide *all* needed configuration parameters "by hand" to the setup-file; this would solve the problem, but I consider this to be not very comfortable... (I would have to change this long parameter-string every time something changed...)


I hope you can give me some good advice, in order to avoid long trial and errors.


Best regards,


Mit freundlichen Grüßen


Christian Hausknecht

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
eMail: ***@beracom.de<mailto:***@beracom.de>

=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
Christian Hausknecht
2012-08-14 07:40:48 UTC
Permalink
Thank you for your hint, but could you give me an example, how to express that in WiX?

I would write this as naïve attempt:

<ExePackage Id="SQLServer" SourceFile="X:\Software\Applikationen\SQL Server\2008 R2\SQLEXPR32_x86_DEU.exe"
InstallCommand='/QS /ACTION=Install /SAPWD="express" /IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE="C:\some\path\config.ini">
<Payload Id="SQLServerConfigFile" SourceFile="C:\some\path\config.ini" />
</ExePackage>

But the /CONFIGURATIONFILE-Parameter links to a location in my local FS. When the installer gets started it will not find the file in that location...

-----Ursprüngliche Nachricht-----
Von: Neil Sleightholm [mailto:***@x2systems.com]
Gesendet: Dienstag, 14. August 2012 09:06
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?

You should be able to do this using the PayLoad element as a child of your ExePackage element.

Neil

-----Original Message-----
From: Christian Hausknecht [mailto:***@BeraCom.de]
Sent: 13 August 2012 11:09
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] How to bundle a configuration file in burn?

Hello folks,

I would like to build a setup file for a MS SQL Server 2008 Express Edition with a predefined configuration. One can pass a parameter /ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup file of SQLServer in which many parameters are defined. Those config files can easily be generated by the SQL Server UI-Setup Mode and therefore I would like to use them also in my bundle. Now I face the problem of how I can provide the required file and in addition which path I must define within the parameter. Is there any chance to handle that with burn?

If not I have to provide *all* needed configuration parameters "by hand" to the setup-file; this would solve the problem, but I consider this to be not very comfortable... (I would have to change this long parameter-string every time something changed...)


I hope you can give me some good advice, in order to avoid long trial and errors.


Best regards,


Mit freundlichen Grüßen


Christian Hausknecht

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
eMail: ***@beracom.de<mailto:***@beracom.de>

=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
Neil Sleightholm
2012-08-14 09:07:17 UTC
Permalink
I have to admit I haven't tried it yet (although probably will be doing exactly the same thing later today). Have you tried removing the path from the /CONFIGURATIONFILE parameter?

Neil

-----Original Message-----
From: Christian Hausknecht [mailto:***@BeraCom.de]
Sent: 14 August 2012 08:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?

Thank you for your hint, but could you give me an example, how to express that in WiX?

I would write this as naïve attempt:

<ExePackage Id="SQLServer" SourceFile="X:\Software\Applikationen\SQL Server\2008 R2\SQLEXPR32_x86_DEU.exe"
InstallCommand='/QS /ACTION=Install /SAPWD="express" /IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE="C:\some\path\config.ini">
<Payload Id="SQLServerConfigFile" SourceFile="C:\some\path\config.ini" />
</ExePackage>

But the /CONFIGURATIONFILE-Parameter links to a location in my local FS. When the installer gets started it will not find the file in that location...

-----Ursprüngliche Nachricht-----
Von: Neil Sleightholm [mailto:***@x2systems.com]
Gesendet: Dienstag, 14. August 2012 09:06
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?

You should be able to do this using the PayLoad element as a child of your ExePackage element.

Neil

-----Original Message-----
From: Christian Hausknecht [mailto:***@BeraCom.de]
Sent: 13 August 2012 11:09
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] How to bundle a configuration file in burn?

Hello folks,

I would like to build a setup file for a MS SQL Server 2008 Express Edition with a predefined configuration. One can pass a parameter /ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup file of SQLServer in which many parameters are defined. Those config files can easily be generated by the SQL Server UI-Setup Mode and therefore I would like to use them also in my bundle. Now I face the problem of how I can provide the required file and in addition which path I must define within the parameter. Is there any chance to handle that with burn?

If not I have to provide *all* needed configuration parameters "by hand" to the setup-file; this would solve the problem, but I consider this to be not very comfortable... (I would have to change this long parameter-string every time something changed...)



I hope you can give me some good advice, in order to avoid long trial and errors.


Best regards,


Mit freundlichen Grüßen


Christian Hausknecht

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
eMail: ***@beracom.de<mailto:***@beracom.de>

=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
Christian Hausknecht
2012-08-14 09:37:14 UTC
Permalink
Ah... you mean that one should only provide a "relative" path like this:

/CONFIGURATIONFILE=config.ini

? That sounds promising... I will try and report about it later on :-)

Thx

-----Ursprüngliche Nachricht-----
Von: Neil Sleightholm [mailto:***@x2systems.com]
Gesendet: Dienstag, 14. August 2012 11:07
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?

I have to admit I haven't tried it yet (although probably will be doing exactly the same thing later today). Have you tried removing the path from the /CONFIGURATIONFILE parameter?

Neil

-----Original Message-----
From: Christian Hausknecht [mailto:***@BeraCom.de]
Sent: 14 August 2012 08:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?

Thank you for your hint, but could you give me an example, how to express that in WiX?

I would write this as naïve attempt:

<ExePackage Id="SQLServer" SourceFile="X:\Software\Applikationen\SQL Server\2008 R2\SQLEXPR32_x86_DEU.exe"
InstallCommand='/QS /ACTION=Install /SAPWD="express" /IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE="C:\some\path\config.ini">
<Payload Id="SQLServerConfigFile" SourceFile="C:\some\path\config.ini" />
</ExePackage>

But the /CONFIGURATIONFILE-Parameter links to a location in my local FS. When the installer gets started it will not find the file in that location...

-----Ursprüngliche Nachricht-----
Von: Neil Sleightholm [mailto:***@x2systems.com]
Gesendet: Dienstag, 14. August 2012 09:06
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?

You should be able to do this using the PayLoad element as a child of your ExePackage element.

Neil

-----Original Message-----
From: Christian Hausknecht [mailto:***@BeraCom.de]
Sent: 13 August 2012 11:09
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] How to bundle a configuration file in burn?

Hello folks,

I would like to build a setup file for a MS SQL Server 2008 Express Edition with a predefined configuration. One can pass a parameter /ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup file of SQLServer in which many parameters are defined. Those config files can easily be generated by the SQL Server UI-Setup Mode and therefore I would like to use them also in my bundle. Now I face the problem of how I can provide the required file and in addition which path I must define within the parameter. Is there any chance to handle that with burn?

If not I have to provide *all* needed configuration parameters "by hand" to the setup-file; this would solve the problem, but I consider this to be not very comfortable... (I would have to change this long parameter-string every time something changed...)



I hope you can give me some good advice, in order to avoid long trial and errors.


Best regards,


Mit freundlichen Grüßen


Christian Hausknecht

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
eMail: ***@beracom.de<mailto:***@beracom.de>

=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching
2012-08-14 14:40:16 UTC
Permalink
If that does not work, we should add a way to get the full path to a
payload via the Burn variable mechanism. That won't help you in WiX v3.6
but we should be able to add it in WiX v3.7.

On Tue, Aug 14, 2012 at 2:37 AM, Christian Hausknecht <
Post by Christian Hausknecht
/CONFIGURATIONFILE=config.ini
? That sounds promising... I will try and report about it later on :-)
Thx
-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 14. August 2012 11:07
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?
I have to admit I haven't tried it yet (although probably will be doing
exactly the same thing later today). Have you tried removing the path from
the /CONFIGURATIONFILE parameter?
Neil
-----Original Message-----
Sent: 14 August 2012 08:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?
Thank you for your hint, but could you give me an example, how to express that in WiX?
<ExePackage Id="SQLServer" SourceFile="X:\Software\Applikationen\SQL
Server\2008 R2\SQLEXPR32_x86_DEU.exe"
InstallCommand='/QS /ACTION=Install /SAPWD="express"
/IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE="C:\some\path\config.ini">
<Payload Id="SQLServerConfigFile" SourceFile="C:\some\path\config.ini" />
</ExePackage>
But the /CONFIGURATIONFILE-Parameter links to a location in my local FS.
When the installer gets started it will not find the file in that
location...
-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 14. August 2012 09:06
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?
You should be able to do this using the PayLoad element as a child of your
ExePackage element.
Neil
-----Original Message-----
Sent: 13 August 2012 11:09
Subject: [WiX-users] How to bundle a configuration file in burn?
Hello folks,
I would like to build a setup file for a MS SQL Server 2008 Express
Edition with a predefined configuration. One can pass a parameter
/ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup file of
SQLServer in which many parameters are defined. Those config files can
easily be generated by the SQL Server UI-Setup Mode and therefore I would
like to use them also in my bundle. Now I face the problem of how I can
provide the required file and in addition which path I must define within
the parameter. Is there any chance to handle that with burn?
If not I have to provide *all* needed configuration parameters "by hand"
to the setup-file; this would solve the problem, but I consider this to be
not very comfortable... (I would have to change this long parameter-string
every time something changed...)
I hope you can give me some good advice, in order to avoid long trial and errors.
Best regards,
Mit freundlichen Grüßen
Christian Hausknecht
BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich
haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung GmbH
Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Neil Sleightholm
2012-08-14 14:46:20 UTC
Permalink
Unfortunately is doesn’t work, SQL needs to full path. What we would need is a burn variable point to the cache folder - I'll add a defect so it is not lost.

Neil

-----Original Message-----
From: Rob Mensching [mailto:***@robmensching.com]
Sent: 14 August 2012 15:40
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?

If that does not work, we should add a way to get the full path to a payload via the Burn variable mechanism. That won't help you in WiX v3.6 but we should be able to add it in WiX v3.7.
Post by Christian Hausknecht
/CONFIGURATIONFILE=config.ini
? That sounds promising... I will try and report about it later on :-)
Thx
-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 14. August 2012 11:07
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?
I have to admit I haven't tried it yet (although probably will be
doing exactly the same thing later today). Have you tried removing the
path from the /CONFIGURATIONFILE parameter?
Neil
-----Original Message-----
Sent: 14 August 2012 08:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?
Thank you for your hint, but could you give me an example, how to express that in WiX?
<ExePackage Id="SQLServer" SourceFile="X:\Software\Applikationen\SQL
Server\2008 R2\SQLEXPR32_x86_DEU.exe"
InstallCommand='/QS /ACTION=Install /SAPWD="express"
/IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE="C:\some\path\config.ini">
<Payload Id="SQLServerConfigFile" SourceFile="C:\some\path\config.ini" />
</ExePackage>
But the /CONFIGURATIONFILE-Parameter links to a location in my local FS.
When the installer gets started it will not find the file in that
location...
-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 14. August 2012 09:06
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?
You should be able to do this using the PayLoad element as a child of
your ExePackage element.
Neil
-----Original Message-----
Sent: 13 August 2012 11:09
Subject: [WiX-users] How to bundle a configuration file in burn?
Hello folks,
I would like to build a setup file for a MS SQL Server 2008 Express
Edition with a predefined configuration. One can pass a parameter
/ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup
file of SQLServer in which many parameters are defined. Those config
files can easily be generated by the SQL Server UI-Setup Mode and
therefore I would like to use them also in my bundle. Now I face the
problem of how I can provide the required file and in addition which
path I must define within the parameter. Is there any chance to handle that with burn?
If not I have to provide *all* needed configuration parameters "by hand"
to the setup-file; this would solve the problem, but I consider this
to be not very comfortable... (I would have to change this long
parameter-string every time something changed...)
I hope you can give me some good advice, in order to avoid long trial and errors.
Best regards,
Mit freundlichen Grüßen
Christian Hausknecht
BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich
haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung
GmbH Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-use
Christian Hausknecht
2012-08-14 15:20:58 UTC
Permalink
Thanks for evaluating that... I had other stuff to do, so I was not able to check that yet. But I remember that I stumbled last days over the fact, that I must provide the *full* path to the SQLServer installation programs. So it is quite obvious, that it reacts the same way within a BA.

For now I wrote a little helper script that extracts all parameters from the given INI file and joines them to appropriate parameters that I can easily copy and paste into my bundle.wxs. Not really nice, but it works for now. And as one anyway has to update the whole bundle if a configuration parameter changes, I can live with this workaround.

But I would appreciate if you can provide a solution for this kind of issue in the future - just to change a config file is definitely more robust than hacking in the bundle definition file :-)

Thx for your efforts and for "wix" of course ;-)


-----Ursprüngliche Nachricht-----
Von: Neil Sleightholm [mailto:***@x2systems.com]
Gesendet: Dienstag, 14. August 2012 16:46
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?

Unfortunately is doesn’t work, SQL needs to full path. What we would need is a burn variable point to the cache folder - I'll add a defect so it is not lost.

Neil

-----Original Message-----
From: Rob Mensching [mailto:***@robmensching.com]
Sent: 14 August 2012 15:40
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?

If that does not work, we should add a way to get the full path to a payload via the Burn variable mechanism. That won't help you in WiX v3.6 but we should be able to add it in WiX v3.7.
Post by Christian Hausknecht
/CONFIGURATIONFILE=config.ini
? That sounds promising... I will try and report about it later on :-)
Thx
-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 14. August 2012 11:07
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?
I have to admit I haven't tried it yet (although probably will be
doing exactly the same thing later today). Have you tried removing the
path from the /CONFIGURATIONFILE parameter?
Neil
-----Original Message-----
Sent: 14 August 2012 08:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to bundle a configuration file in burn?
Thank you for your hint, but could you give me an example, how to express that in WiX?
<ExePackage Id="SQLServer" SourceFile="X:\Software\Applikationen\SQL
Server\2008 R2\SQLEXPR32_x86_DEU.exe"
InstallCommand='/QS /ACTION=Install /SAPWD="express"
/IACCEPTSQLSERVERLICENSETERMS /CONFIGURATIONFILE="C:\some\path\config.ini">
<Payload Id="SQLServerConfigFile" SourceFile="C:\some\path\config.ini" />
</ExePackage>
But the /CONFIGURATIONFILE-Parameter links to a location in my local FS.
When the installer gets started it will not find the file in that
location...
-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 14. August 2012 09:06
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to bundle a configuration file in burn?
You should be able to do this using the PayLoad element as a child of
your ExePackage element.
Neil
-----Original Message-----
Sent: 13 August 2012 11:09
Subject: [WiX-users] How to bundle a configuration file in burn?
Hello folks,
I would like to build a setup file for a MS SQL Server 2008 Express
Edition with a predefined configuration. One can pass a parameter
/ConfigurationFile={Absolute path to a ConfigFile.ini} to the setup
file of SQLServer in which many parameters are defined. Those config
files can easily be generated by the SQL Server UI-Setup Mode and
therefore I would like to use them also in my bundle. Now I face the
problem of how I can provide the required file and in addition which
path I must define within the parameter. Is there any chance to handle that with burn?
If not I have to provide *all* needed configuration parameters "by hand"
to the setup-file; this would solve the problem, but I consider this
to be not very comfortable... (I would have to change this long
parameter-string every time something changed...)
I hope you can give me some good advice, in order to avoid long trial and errors.
Best regards,
Mit freundlichen Grüßen
Christian Hausknecht
BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG Weidestraße 134, 22083 Hamburg
Tel.: +49 (0)40 547241 - 27
=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich
haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung
GmbH Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
--------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and the
latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wi
chroyer
2012-08-14 15:42:12 UTC
Permalink
Post by Rob Mensching
If that does not work, we should add a way to get the full path to a
payload via the Burn variable mechanism. That won't help you in WiX v3.6
but we should be able to add it in WiX v3.7.
This sounds familiar...see here:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Exe-package-can-t-find-payload-file-that-s-not-a-dll-tp7578750p7578818.html

which resulted in defect 3538846.

Not sure which solution is best, maybe both?

Christophe
Rob Mensching
2012-08-14 15:48:20 UTC
Permalink
Both, I expect.
Post by chroyer
Post by Rob Mensching
If that does not work, we should add a way to get the full path to a
payload via the Burn variable mechanism. That won't help you in WiX v3.6
but we should be able to add it in WiX v3.7.
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Exe-package-can-t-find-payload-file-that-s-not-a-dll-tp7578750p7578818.html
which resulted in defect 3538846.
Not sure which solution is best, maybe both?
Christophe
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
virtually,

Rob Mensching
http://RobMensching.com LLC
Neil Sleightholm
2012-08-14 16:03:20 UTC
Permalink
In this case it is slightly different, when you run the SQL install it extracts the setup to another folder (usually a guid folder name on drive c) it then runs the install from that folder and that fails to find the config file as it is not in the same folder.

Neil

-----Original Message-----
From: chroyer [mailto:***@comcast.net]
Sent: 14 August 2012 16:42
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] How to bundle a configuration file in burn?
Post by Rob Mensching
If that does not work, we should add a way to get the full path to a
payload via the Burn variable mechanism. That won't help you in WiX
v3.6 but we should be able to add it in WiX v3.7.
This sounds familiar...see here:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Exe-package-can-t-find-payload-file-that-s-not-a-dll-tp7578750p7578818.html

which resulted in defect 3538846.

Not sure which solution is best, maybe both?

Christophe

Continue reading on narkive:
Loading...