Re: [WiX-users] bootstrapper for non-Microsoft installer - warning item not located
Ok that worked. I now am getting the new folder and the prerequisite .msi file. Based on my test and your comment the prereq will Not run via clicking on the setup.exe so the user will be required to make that choice themselves. Correct? On Tue, Mar 29, 2011 at 2:32 PM, Tobias S tobias.s1...@gmail.com wrote: Try BootstrapperItems=@(BootstrapperFile) instead of BootstrapperItems=$(BootstrapperFile) in project file: GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / Additionally an additional folder is created and the prerequisite is not included into the setup.exe Regards Tobias 2011/3/28 Paul Brook brook.p...@gmail.com: Thanks for the reply. I have tried to implement the bootstrapper based on your suggestion and I am not getting any more errors. However the setup.exe is not getting bigger so I know the .msi file didn't make it into the setup.exe. I also ran the setup.exe and the bootstrapper didn't run. I can definitely see how the SQL project is a good model for installing an MSI so probably I've got an error in the package or product files. Please take a look - and thanks for your help. Here's my new package and product xml files. I did move the SetupNetConfig.msi file into the EN sub folder. I've include the new elements in the project file at the bottom of the email. Package.xml: ?xml version=1.0 encoding=utf-8 ? Package xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; Name=DisplayName Culture=Culture InstallChecks FileCheck Property=CONFIG SpecialFolder=ProgramFilesFolder FileName=NetConfig.exe SearchPath=.\ERF\VSU Network Configurator\ SearchDepth=1/ /InstallChecks PackageFiles CopyAllPackageFiles=false PackageFile Name=SetupNetConfig.msi / /PackageFiles Commands Reboot=Defer Command PackageFile =SetupNetConfig.msi Arguments= InstallConditions BypassIf Property=CONFIG Compare=ValueGreaterThanOrEqualTo Value=1.0.0.0/ /InstallConditions ExitCodes ExitCode Value=0 Result=Success / ExitCode Value=1641 Result=SuccessReboot / ExitCode Value=3010 Result=SuccessReboot / ExitCode Value=4123 Result=SuccessReboot / DefaultExitCode Result=Fail String=Anunexpected FormatMessageFromSystem=true / /ExitCodes /Command /Commands Strings String Name=DisplayNameNetwork.Configurator/String String Name=CultureEN/String String Name=AnunexpectedAn unexpected exit code was returned from the installer. The installation failed./String String Name=GeneralFailureA general error has occurred while installing this package./String /Strings /Package Product.xml: ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator /Product New lines in project file: ItemGroup BootstrapperFile Include=Network.Configurator ProductNameNetwork.Configurator/ProductName /BootstrapperFile /ItemGroup Target Name=AfterBuild Outputs=$(Outdir)\Setup.exe GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=$(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target On Sat, Mar 26, 2011 at 8:16 AM, Tobias S tobias.s1...@gmail.com wrote: Hi, At first glance for me the two files product and pacack.xml seem to have the wrong content. As you describe your requirements have a look at SQL Server Compact Edition Prerequisite as it has a similar structure and the intention to install MSI packages. Pleaase therefore diff the whole folder (esp. the content of product.xml and package.xml) C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\YourPackage against C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\SQL Server Compact Edition Regards, Tobias 2011/3/25 Paul Brook brook.p...@gmail.com: Hi all, I am attempting to build a bootstrapper for my wix installer in order install another program our customer wants deployed along with ours. I've been given the .msi file. Here's the error / warning I'm getting: warning MSB3155: Item 'Network.Configurator' could not be located in 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'. Also - when I run the setup.exe that is created along with my main .msi file it doesn't run the SetupNetConfig.msi file. Any help would be appreciated Paul What
Re: [WiX-users] bootstrapper for non-Microsoft installer - warning item not located
No sorry. I meant the prerequisite is started by clicking on setup.exe. Then a dialog appears if the launch condition for the prerequisite is not satisfied and the user can confirm to install it. As I remember the bootstrapper aborts if the user cancels the prerequisite installation. So he is obliged to confirm in order to install the application. At first I thought you mean the prerequisite is directly embedded into the setup.exe what the MS Bootstrapper cannot do. 2011/3/30 Paul Brook brook.p...@gmail.com: Ok that worked. I now am getting the new folder and the prerequisite .msi file. Based on my test and your comment the prereq will Not run via clicking on the setup.exe so the user will be required to make that choice themselves. Correct? On Tue, Mar 29, 2011 at 2:32 PM, Tobias S tobias.s1...@gmail.com wrote: Try BootstrapperItems=@(BootstrapperFile) instead of BootstrapperItems=$(BootstrapperFile) in project file: GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / Additionally an additional folder is created and the prerequisite is not included into the setup.exe Regards Tobias 2011/3/28 Paul Brook brook.p...@gmail.com: Thanks for the reply. I have tried to implement the bootstrapper based on your suggestion and I am not getting any more errors. However the setup.exe is not getting bigger so I know the .msi file didn't make it into the setup.exe. I also ran the setup.exe and the bootstrapper didn't run. I can definitely see how the SQL project is a good model for installing an MSI so probably I've got an error in the package or product files. Please take a look - and thanks for your help. Here's my new package and product xml files. I did move the SetupNetConfig.msi file into the EN sub folder. I've include the new elements in the project file at the bottom of the email. Package.xml: ?xml version=1.0 encoding=utf-8 ? Package xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; Name=DisplayName Culture=Culture InstallChecks FileCheck Property=CONFIG SpecialFolder=ProgramFilesFolder FileName=NetConfig.exe SearchPath=.\ERF\VSU Network Configurator\ SearchDepth=1/ /InstallChecks PackageFiles CopyAllPackageFiles=false PackageFile Name=SetupNetConfig.msi / /PackageFiles Commands Reboot=Defer Command PackageFile =SetupNetConfig.msi Arguments= InstallConditions BypassIf Property=CONFIG Compare=ValueGreaterThanOrEqualTo Value=1.0.0.0/ /InstallConditions ExitCodes ExitCode Value=0 Result=Success / ExitCode Value=1641 Result=SuccessReboot / ExitCode Value=3010 Result=SuccessReboot / ExitCode Value=4123 Result=SuccessReboot / DefaultExitCode Result=Fail String=Anunexpected FormatMessageFromSystem=true / /ExitCodes /Command /Commands Strings String Name=DisplayNameNetwork.Configurator/String String Name=CultureEN/String String Name=AnunexpectedAn unexpected exit code was returned from the installer. The installation failed./String String Name=GeneralFailureA general error has occurred while installing this package./String /Strings /Package Product.xml: ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator /Product New lines in project file: ItemGroup BootstrapperFile Include=Network.Configurator ProductNameNetwork.Configurator/ProductName /BootstrapperFile /ItemGroup Target Name=AfterBuild Outputs=$(Outdir)\Setup.exe GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=$(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target On Sat, Mar 26, 2011 at 8:16 AM, Tobias S tobias.s1...@gmail.com wrote: Hi, At first glance for me the two files product and pacack.xml seem to have the wrong content. As you describe your requirements have a look at SQL Server Compact Edition Prerequisite as it has a similar structure and the intention to install MSI packages. Pleaase therefore diff the whole folder (esp. the content of product.xml and package.xml) C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\YourPackage against C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\SQL Server Compact Edition Regards, Tobias 2011/3/25 Paul Brook brook.p...@gmail.com: Hi all, I am attempting to build a
Re: [WiX-users] bootstrapper for non-Microsoft installer - warning item not located
Try BootstrapperItems=@(BootstrapperFile) instead of BootstrapperItems=$(BootstrapperFile) in project file: GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / Additionally an additional folder is created and the prerequisite is not included into the setup.exe Regards Tobias 2011/3/28 Paul Brook brook.p...@gmail.com: Thanks for the reply. I have tried to implement the bootstrapper based on your suggestion and I am not getting any more errors. However the setup.exe is not getting bigger so I know the .msi file didn't make it into the setup.exe. I also ran the setup.exe and the bootstrapper didn't run. I can definitely see how the SQL project is a good model for installing an MSI so probably I've got an error in the package or product files. Please take a look - and thanks for your help. Here's my new package and product xml files. I did move the SetupNetConfig.msi file into the EN sub folder. I've include the new elements in the project file at the bottom of the email. Package.xml: ?xml version=1.0 encoding=utf-8 ? Package xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; Name=DisplayName Culture=Culture InstallChecks FileCheck Property=CONFIG SpecialFolder=ProgramFilesFolder FileName=NetConfig.exe SearchPath=.\ERF\VSU Network Configurator\ SearchDepth=1/ /InstallChecks PackageFiles CopyAllPackageFiles=false PackageFile Name=SetupNetConfig.msi / /PackageFiles Commands Reboot=Defer Command PackageFile =SetupNetConfig.msi Arguments= InstallConditions BypassIf Property=CONFIG Compare=ValueGreaterThanOrEqualTo Value=1.0.0.0/ /InstallConditions ExitCodes ExitCode Value=0 Result=Success / ExitCode Value=1641 Result=SuccessReboot / ExitCode Value=3010 Result=SuccessReboot / ExitCode Value=4123 Result=SuccessReboot / DefaultExitCode Result=Fail String=Anunexpected FormatMessageFromSystem=true / /ExitCodes /Command /Commands Strings String Name=DisplayNameNetwork.Configurator/String String Name=CultureEN/String String Name=AnunexpectedAn unexpected exit code was returned from the installer. The installation failed./String String Name=GeneralFailureA general error has occurred while installing this package./String /Strings /Package Product.xml: ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator /Product New lines in project file: ItemGroup BootstrapperFile Include=Network.Configurator ProductNameNetwork.Configurator/ProductName /BootstrapperFile /ItemGroup Target Name=AfterBuild Outputs=$(Outdir)\Setup.exe GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=$(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target On Sat, Mar 26, 2011 at 8:16 AM, Tobias S tobias.s1...@gmail.com wrote: Hi, At first glance for me the two files product and pacack.xml seem to have the wrong content. As you describe your requirements have a look at SQL Server Compact Edition Prerequisite as it has a similar structure and the intention to install MSI packages. Pleaase therefore diff the whole folder (esp. the content of product.xml and package.xml) C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\YourPackage against C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\SQL Server Compact Edition Regards, Tobias 2011/3/25 Paul Brook brook.p...@gmail.com: Hi all, I am attempting to build a bootstrapper for my wix installer in order install another program our customer wants deployed along with ours. I've been given the .msi file. Here's the error / warning I'm getting: warning MSB3155: Item 'Network.Configurator' could not be located in 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'. Also - when I run the setup.exe that is created along with my main .msi file it doesn't run the SetupNetConfig.msi file. Any help would be appreciated Paul What I have done so far is this. 1. created a folder called NetworkConfigurator for the installer in: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ 2. copied the .msi file into the new folder 3. created the product.xml in the new folder: Here it is. ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator !-- Defines
Re: [WiX-users] bootstrapper for non-Microsoft installer - warning item not located
Thanks for the reply. I have tried to implement the bootstrapper based on your suggestion and I am not getting any more errors. However the setup.exe is not getting bigger so I know the .msi file didn't make it into the setup.exe. I also ran the setup.exe and the bootstrapper didn't run. I can definitely see how the SQL project is a good model for installing an MSI so probably I've got an error in the package or product files. Please take a look - and thanks for your help. Here's my new package and product xml files. I did move the SetupNetConfig.msi file into the EN sub folder. I've include the new elements in the project file at the bottom of the email. Package.xml: ?xml version=1.0 encoding=utf-8 ? Package xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; Name=DisplayName Culture=Culture InstallChecks FileCheck Property=CONFIG SpecialFolder=ProgramFilesFolder FileName=NetConfig.exe SearchPath=.\ERF\VSU Network Configurator\ SearchDepth=1/ /InstallChecks PackageFiles CopyAllPackageFiles=false PackageFile Name=SetupNetConfig.msi / /PackageFiles Commands Reboot=Defer Command PackageFile =SetupNetConfig.msi Arguments= InstallConditions BypassIf Property=CONFIG Compare=ValueGreaterThanOrEqualTo Value=1.0.0.0/ /InstallConditions ExitCodes ExitCode Value=0 Result=Success / ExitCode Value=1641 Result=SuccessReboot / ExitCode Value=3010 Result=SuccessReboot / ExitCode Value=4123 Result=SuccessReboot / DefaultExitCode Result=Fail String=Anunexpected FormatMessageFromSystem=true / /ExitCodes /Command /Commands Strings String Name=DisplayNameNetwork.Configurator/String String Name=CultureEN/String String Name=AnunexpectedAn unexpected exit code was returned from the installer. The installation failed./String String Name=GeneralFailureA general error has occurred while installing this package./String /Strings /Package Product.xml: ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator /Product New lines in project file: ItemGroup BootstrapperFile Include=Network.Configurator ProductNameNetwork.Configurator/ProductName /BootstrapperFile /ItemGroup Target Name=AfterBuild Outputs=$(Outdir)\Setup.exe GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=$(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target On Sat, Mar 26, 2011 at 8:16 AM, Tobias S tobias.s1...@gmail.com wrote: Hi, At first glance for me the two files product and pacack.xml seem to have the wrong content. As you describe your requirements have a look at SQL Server Compact Edition Prerequisite as it has a similar structure and the intention to install MSI packages. Pleaase therefore diff the whole folder (esp. the content of product.xml and package.xml) C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\YourPackage against C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\SQL Server Compact Edition Regards, Tobias 2011/3/25 Paul Brook brook.p...@gmail.com: Hi all, I am attempting to build a bootstrapper for my wix installer in order install another program our customer wants deployed along with ours. I've been given the .msi file. Here's the error / warning I'm getting: warning MSB3155: Item 'Network.Configurator' could not be located in 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'. Also - when I run the setup.exe that is created along with my main .msi file it doesn't run the SetupNetConfig.msi file. Any help would be appreciated Paul What I have done so far is this. 1. created a folder called NetworkConfigurator for the installer in: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ 2. copied the .msi file into the new folder 3. created the product.xml in the new folder: Here it is. ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator !-- Defines list of files to be copied on build -- PackageFiles CopyAllPackageFiles=true PackageFile Name=SetupNetConfig.msi/ /PackageFiles RelatedProducts DependsOnProduct Code=Microsoft.Windows.Installer.3.1 / /RelatedProducts ExitCodes ExitCode Value=0 Result=Success/ ExitCode Value=1641 Result=SuccessReboot/ ExitCode Value=3010 Result=SuccessReboot/ DefaultExitCode Result=Fail String=GeneralFailure/ /ExitCodes /Product 4. created the EN folder 5. created the package.xml file in the EN folder
Re: [WiX-users] bootstrapper for non-Microsoft installer - warning item not located
Hi, At first glance for me the two files product and pacack.xml seem to have the wrong content. As you describe your requirements have a look at SQL Server Compact Edition Prerequisite as it has a similar structure and the intention to install MSI packages. Pleaase therefore diff the whole folder (esp. the content of product.xml and package.xml) C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\YourPackage against C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\SQL Server Compact Edition Regards, Tobias 2011/3/25 Paul Brook brook.p...@gmail.com: Hi all, I am attempting to build a bootstrapper for my wix installer in order install another program our customer wants deployed along with ours. I've been given the .msi file. Here's the error / warning I'm getting: warning MSB3155: Item 'Network.Configurator' could not be located in 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'. Also - when I run the setup.exe that is created along with my main .msi file it doesn't run the SetupNetConfig.msi file. Any help would be appreciated Paul What I have done so far is this. 1. created a folder called NetworkConfigurator for the installer in: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ 2. copied the .msi file into the new folder 3. created the product.xml in the new folder: Here it is. ?xml version=1.0 encoding=utf-8 ? Product xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; ProductCode=Network.Configurator !-- Defines list of files to be copied on build -- PackageFiles CopyAllPackageFiles=true PackageFile Name=SetupNetConfig.msi/ /PackageFiles RelatedProducts DependsOnProduct Code=Microsoft.Windows.Installer.3.1 / /RelatedProducts ExitCodes ExitCode Value=0 Result=Success/ ExitCode Value=1641 Result=SuccessReboot/ ExitCode Value=3010 Result=SuccessReboot/ DefaultExitCode Result=Fail String=GeneralFailure/ /ExitCodes /Product 4. created the EN folder 5. created the package.xml file in the EN folder ?xml version=1.0 encoding=utf-8 ? Package xmlns=http://schemas.microsoft.com/developer/2004/01/bootstrapper; Name=DisplayName Culture=Culture Strings String Name=DisplayNameNetwork.Configurator/String String Name=Cultureen/String String Name=NotAnAdminYou must be an administrator to install this package./String String Name=GeneralFailureA general error has occurred while installing this package./String /Strings /Package 6. Added the following to the wixproj file ItemGroup BootstrapperFile Include=Network.Configurator ProductNameNetwork.Configurator/ProductName /BootstrapperFile BootstrapperFile Include=Microsoft.Windows.Installer.3.1 ProductNameWindows Installer 3.1/ProductName /BootstrapperFile /ItemGroup Target Name=AfterBuild Outputs=$(Outdir)\Setup.exe GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=Network Configurator BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users