Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
I see. What would Result.Ok do then in this situation? Is there a place that lists what the different result codes do, out of curiosity? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579374.html Sent from the wix-users mailing list archive at Nabble.com. -- 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
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
Result.NoAction is like saying "Nothing to do here." On Mon, Jul 9, 2012 at 9:52 AM, Nick Ramirez wrote: > Thanks, I've added an event handler for the ResolveSource event and that > gets > me past this issue. My bundle installs! I am following the WiX setup > example > by setting the event argument's Result to "Download" when DownloadSource is > not null, and to "Ok" otherwise. I am assuming that using "Ok" for a > package > that doesn't need to be downloaded is like saying, "Nothing to do here". > > this.Bootstrapper.ResolveSource += (o, args) => > { >if (!string.IsNullOrEmpty(args.DownloadSource)){ > // Downloadable package found > args.Result = Result.Download; >} >else { > // Not downloadable > args.Result = Result.Ok; >} > } > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579356.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > 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 > -- virtually, Rob Mensching http://RobMensching.com LLC -- 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
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
Thanks, I've added an event handler for the ResolveSource event and that gets me past this issue. My bundle installs! I am following the WiX setup example by setting the event argument's Result to "Download" when DownloadSource is not null, and to "Ok" otherwise. I am assuming that using "Ok" for a package that doesn't need to be downloaded is like saying, "Nothing to do here". this.Bootstrapper.ResolveSource += (o, args) => { if (!string.IsNullOrEmpty(args.DownloadSource)){ // Downloadable package found args.Result = Result.Download; } else { // Not downloadable args.Result = Result.Ok; } } -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579356.html Sent from the wix-users mailing list archive at Nabble.com. -- 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
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
Do you handle the OnResolveSource event in your BA? You should return IDDOWNLOAD there. 2012/7/7 Nick Ramirez > *I'm reference this in the Chain element:* > > > > *But I get an error using my custom bootstrapper application:* > > Plan complete, result: 0x0 > [0A00:07D8][2012-07-06T23:48:46]: Apply begin > [0BD4:07B8][2012-07-06T23:48:50]: Creating a system restore point. > [0BD4:07B8][2012-07-06T23:48:59]: Created a system restore point. > [0A00:07D8][2012-07-06T23:48:59]: Caching bundle from: > > 'C:\Users\Win7\AppData\Local\Temp\{f8088172-3957-44dd-af4f-439a42d81262}\.be\WindowsApp.Bootstrapper.exe' > to: 'C:\Users\Win7\AppData\Local\Package > Cache\{f8088172-3957-44dd-af4f-439a42d81262}\WindowsApp.Bootstrapper.exe' > [0A00:07D8][2012-07-06T23:48:59]: Registering bundle dependency provider: > {f8088172-3957-44dd-af4f-439a42d81262}, version: 1.0.0.0 > [0A00:0814][2012-07-06T23:48:59]: Prompt for source of package: > NetFx40Redist, payload: NetFx40Redist, path: > C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe > [0A00:0814][2012-07-06T23:48:59]: Failed to resolve source for file: > C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe, error: > 0x80070002. > [0A00:0814][2012-07-06T23:48:59]: Error 0x80070002: Failed while prompting > for source (original path > 'C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe'). > [0A00:0814][2012-07-06T23:48:59]: Failed to acquire payload: NetFx40Redist > to working path: > > C:\Users\Win7\AppData\Local\Temp\{f8088172-3957-44dd-af4f-439a42d81262}\NetFx40Redist, > error: 0x80070002. > [0A00:07D8][2012-07-06T23:48:59]: Error 0x80070002: Failed while caching, > aborting execution. > [0A00:07D8][2012-07-06T23:48:59]: Removed bundle dependency provider: > {f8088172-3957-44dd-af4f-439a42d81262} > [0A00:07D8][2012-07-06T23:48:59]: Removing cached bundle: > {f8088172-3957-44dd-af4f-439a42d81262}, from path: > C:\Users\Win7\AppData\Local\Package > Cache\{f8088172-3957-44dd-af4f-439a42d81262}\ > [0A00:07D8][2012-07-06T23:48:59]: Calling ApplyComplete > > *Has anyone run into something similar?* > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579336.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > 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
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
*I'm reference this in the Chain element:* *But I get an error using my custom bootstrapper application:* Plan complete, result: 0x0 [0A00:07D8][2012-07-06T23:48:46]: Apply begin [0BD4:07B8][2012-07-06T23:48:50]: Creating a system restore point. [0BD4:07B8][2012-07-06T23:48:59]: Created a system restore point. [0A00:07D8][2012-07-06T23:48:59]: Caching bundle from: 'C:\Users\Win7\AppData\Local\Temp\{f8088172-3957-44dd-af4f-439a42d81262}\.be\WindowsApp.Bootstrapper.exe' to: 'C:\Users\Win7\AppData\Local\Package Cache\{f8088172-3957-44dd-af4f-439a42d81262}\WindowsApp.Bootstrapper.exe' [0A00:07D8][2012-07-06T23:48:59]: Registering bundle dependency provider: {f8088172-3957-44dd-af4f-439a42d81262}, version: 1.0.0.0 [0A00:0814][2012-07-06T23:48:59]: Prompt for source of package: NetFx40Redist, payload: NetFx40Redist, path: C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe [0A00:0814][2012-07-06T23:48:59]: Failed to resolve source for file: C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe, error: 0x80070002. [0A00:0814][2012-07-06T23:48:59]: Error 0x80070002: Failed while prompting for source (original path 'C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe'). [0A00:0814][2012-07-06T23:48:59]: Failed to acquire payload: NetFx40Redist to working path: C:\Users\Win7\AppData\Local\Temp\{f8088172-3957-44dd-af4f-439a42d81262}\NetFx40Redist, error: 0x80070002. [0A00:07D8][2012-07-06T23:48:59]: Error 0x80070002: Failed while caching, aborting execution. [0A00:07D8][2012-07-06T23:48:59]: Removed bundle dependency provider: {f8088172-3957-44dd-af4f-439a42d81262} [0A00:07D8][2012-07-06T23:48:59]: Removing cached bundle: {f8088172-3957-44dd-af4f-439a42d81262}, from path: C:\Users\Win7\AppData\Local\Package Cache\{f8088172-3957-44dd-af4f-439a42d81262}\ [0A00:07D8][2012-07-06T23:48:59]: Calling ApplyComplete *Has anyone run into something similar?* -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579336.html Sent from the wix-users mailing list archive at Nabble.com. -- 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
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
Thanks, Bob! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579070.html Sent from the wix-users mailing list archive at Nabble.com. -- 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
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
On 23-Jun-12 20:28, Nick Ramirez wrote: > Looking at the source code for the extension, that package has the > DownloadUrl attribute but not the SourceFile attribute, so would that mean > the user needs to have an internet connection? Yes. > Am I right in thinking that > having a SourceFile attribute acts as a backup if the DownloadUrl doesn't > work? No. SourceFile is usually required, so the Binder can give Burn details about the file. NetFxExtension uses RemotePayload instead so those files aren't required when you build. > Also, is it better to reference the NetFx40Web package or the NetFx40Redist > package from the WixNetFxExtension? They're different, not better or worse. The web installer is a small stub that downloads its own files; the redist is self-contained so Burn manages the whole download. -- sig://boB http://joyofsetup.com/ -- 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
[WiX-users] .NET 4 pre-req in WixNetFxExtension
It's fantastic that with the later builds of version 3.6, we can reference the WixNetFxExtension and then put in to make .NET 4 a prereq. Looking at the source code for the extension, that package has the DownloadUrl attribute but not the SourceFile attribute, so would that mean the user needs to have an internet connection? Am I right in thinking that having a SourceFile attribute acts as a backup if the DownloadUrl doesn't work? Also, is it better to reference the NetFx40Web package or the NetFx40Redist package from the WixNetFxExtension? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058.html Sent from the wix-users mailing list archive at Nabble.com. -- 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