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:n...@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:r...@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. On Tue, Aug 14, 2012 at 2:37 AM, Christian Hausknecht < chauskne...@beracom.de> wrote: > 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:n...@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:chauskne...@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:n...@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:chauskne...@beracom.de] > Sent: 13 August 2012 11:09 > To: wix-users@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: chauskne...@beracom.de<mailto:tneld...@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-users@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-users@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-users@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-users@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-users@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-users@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-users@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-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users