Re: [WiX-users] Conditional service install (with ServiceControl)

2010-03-14 Thread Nicole Zheng
Thanks. Maybe I didn't describe my issue very clearly. My codes do have unique Id for ServiceInstall, just like you suggested. But it still can't compile because ServiceConfig requires unique Name for ServiceInstall, which is used as identifier of ServiceConfig table. What's your comment? -- Vie

Re: [WiX-users] Conditional service install (with ServiceControl)

2010-03-05 Thread Bob Arnson
On 3/5/2010 4:40 AM, Nicole Zheng wrote: > My codes below works fine (pls ignore the line in italic at this moment). > However, there's new requirement to config the service during installation. > I can't use under each (just like the code > in italic below) because ServiceConfig table requires u

Re: [WiX-users] Conditional service install (with ServiceControl)

2010-03-05 Thread cwss
You should add an Id attribute to give the two configurations unique Id's. If you don't specify an Id it uses the name. Ex: VersionNT = 500 VersionNT > 500 Nicole Zheng wrote: > > I searched the forum and got following related topics but my problem i

[WiX-users] Conditional service install (with ServiceControl)

2010-03-05 Thread Nicole Zheng
I searched the forum and got following related topics but my problem is a bit different, so I decided to post it here and look forward to your comments. Thanks. http://n2.nabble.com/Installing-a-Service-with-Varying-Dependencies-td693097.html#a693097 http://n2.nabble.com/Conditional-service-insta