[WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)
Hi all, Newbie question. Brand-new to WiX, I'm trying to follow the instructions here: http://wix.sourceforge.net/manual-wix3/authoring_first_votive_project.htm I'm running Visual Studio 2010 (10.0.4.40219.1 SP1Rel) and WiX 3.6. (I downloaded the latter from SourceForge as a binary today and ran it. The installation was successful, according to WiX_Toolset_v3.6.3303.1_20120918154141_4_nsdk2010.msi.log.) Step 1 of the instructions at that URL (Create the C# Windows Form Application) seems OK. It's Step 2 I'm having a problem with. It says: -- Choose the Windows Installer XML node in the Project types tree, then select WiX Project But when I select Windows Installer XML, there is no option for "WiX Project" -- the choices are: Setup Project Merge Module Project Setup Library Project Bootstrapper Project C# Custom Action Project VB Custom Action Project C++ Custom Action Project I tried choosing "Setup Project." But then when I get to these steps: -- In the MySetup project, right-click on the References node and choose Add Reference -- Navigate to the Projects tab, click on the MyApplication project, and click the Add button, and then press OK. there is nothing in the Projects tab. I tried using the Browse tab instead to navigate into the MyApplication directory but nothing in here is selectable. It seems to want a file of type "WiX Reference Files (*.dll, *.wixlib)" but there's nothing like that within this MyApplication directory. If I select Files of type "All Files (*.*)" and then choose the .csproj or .sln file, then click OK, it complains and says I have to make sure the file "is a valid WiX reference". I also tried building MyApplication (which BTW the instructions don't say you need to do), but it produces a .exe file -- no .dll or .wixlib in sight -- and selecting that results in the same error. Are the instructions out of date? What do I need to do differently? Thanks in advance, Doug -- 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] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)
Yes, Setup project is the right type. It's probably just a documentation/cleanup issue, though I have no clue if it's logged. When you right click on "References" on the Setup project, you missed the step of selecting the "Projects" tab in the next dialog. Jacob -Original Message- From: Doug Keislar [mailto:d...@musclefish.com] Sent: Tuesday, September 18, 2012 7:53 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6) Hi all, Newbie question. Brand-new to WiX, I'm trying to follow the instructions here: http://wix.sourceforge.net/manual-wix3/authoring_first_votive_project.htm I'm running Visual Studio 2010 (10.0.4.40219.1 SP1Rel) and WiX 3.6. (I downloaded the latter from SourceForge as a binary today and ran it. The installation was successful, according to WiX_Toolset_v3.6.3303.1_20120918154141_4_nsdk2010.msi.log.) Step 1 of the instructions at that URL (Create the C# Windows Form Application) seems OK. It's Step 2 I'm having a problem with. It says: -- Choose the Windows Installer XML node in the Project types tree, then select WiX Project But when I select Windows Installer XML, there is no option for "WiX Project" -- the choices are: Setup Project Merge Module Project Setup Library Project Bootstrapper Project C# Custom Action Project VB Custom Action Project C++ Custom Action Project I tried choosing "Setup Project." But then when I get to these steps: -- In the MySetup project, right-click on the References node and choose Add Reference -- Navigate to the Projects tab, click on the MyApplication project, and click the Add button, and then press OK. there is nothing in the Projects tab. I tried using the Browse tab instead to navigate into the MyApplication directory but nothing in here is selectable. It seems to want a file of type "WiX Reference Files (*.dll, *.wixlib)" but there's nothing like that within this MyApplication directory. If I select Files of type "All Files (*.*)" and then choose the .csproj or .sln file, then click OK, it complains and says I have to make sure the file "is a valid WiX reference". I also tried building MyApplication (which BTW the instructions don't say you need to do), but it produces a .exe file -- no .dll or .wixlib in sight -- and selecting that results in the same error. Are the instructions out of date? What do I need to do differently? Thanks in advance, Doug -- 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] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)
tudio 2010 Professional - ENU > (KB2645410) KB2645410 > This security update is for Microsoft Visual Studio 2010 Professional > - ENU. > If you later install a more recent service pack, this security update > will be uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2645410. > > Windows Installer XML Toolset 3.6 > Windows Installer XML Toolset 3.6.3303.0 > Copyright © Outercurve Foundation. All rights reserved. Any clues here? Thanks, Doug On 9/18/2012 6:02 PM, Hoover, Jacob wrote: > Yes, Setup project is the right type. It's probably just a > documentation/cleanup issue, though I have no clue if it's logged. When you > right click on "References" on the Setup project, you missed the step of > selecting the "Projects" tab in the next dialog. > > Jacob > > -Original Message- > From: Doug Keislar [mailto:d...@musclefish.com] > Sent: Tuesday, September 18, 2012 7:53 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] instructions for "Creating a Simple Setup" don't work > (using VS2010 and WiX 3.6) > > Hi all, > > Newbie question. Brand-new to WiX, I'm trying to follow the instructions > here: > http://wix.sourceforge.net/manual-wix3/authoring_first_votive_project.htm > > I'm running Visual Studio 2010 (10.0.4.40219.1 SP1Rel) and WiX 3.6. (I > downloaded the latter from SourceForge as a binary today and ran it. > The installation was successful, according to > WiX_Toolset_v3.6.3303.1_20120918154141_4_nsdk2010.msi.log.) > > Step 1 of the instructions at that URL (Create the C# Windows Form > Application) seems OK. > It's Step 2 I'm having a problem with. It says: > > -- Choose the Windows Installer XML node in the Project types tree, then > select WiX Project > > But when I select Windows Installer XML, there is no option for "WiX Project" > -- the choices are: > Setup Project > Merge Module Project > Setup Library Project > Bootstrapper Project > C# Custom Action Project > VB Custom Action Project > C++ Custom Action Project > > I tried choosing "Setup Project." > But then when I get to these steps: > > -- In the MySetup project, right-click on the References node and choose > Add Reference > -- Navigate to the Projects tab, click on the MyApplication project, and > click the Add button, and then press OK. > > there is nothing in the Projects tab. I tried using the Browse tab > instead to navigate into the MyApplication directory > but nothing in here is selectable. It seems to want a file of type "WiX > Reference Files (*.dll, *.wixlib)" > but there's nothing like that within this MyApplication directory. If I > select Files of type "All Files (*.*)" and then choose > the .csproj or .sln file, then click OK, it complains and says I have to > make sure the file "is a valid WiX reference". > > I also tried building MyApplication (which BTW the instructions don't > say you need to do), but it produces a .exe file -- no .dll or .wixlib > in sight -- and selecting that results in the same error. > > Are the instructions out of date? What do I need to do differently? > > > Thanks in advance, > Doug > > > > -- > 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
Re: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)
Silly question but you do have both projects within the same solution, right? -Original Message- From: Doug Keislar [mailto:d...@musclefish.com] Sent: Wednesday, September 19, 2012 12:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6) Thanks, Jacob, for the explanation about Setup Project being the right type. Good to know. Actually, I didn't miss the next step about selecting the Projects tab. I did select it, but as I had mentioned (probably not very clearly), there were no items listed under Projects at all (which is why I then tried to find MyApplication via the Browser tab of the same dialog). Does that mean I didn't follow Step 1 correctly in creating MyApplication? It's hard to see what I could have done wrong, since that step is so simple. What kind of file is Visual Studio looking for in order to list a project under the Projects tab? There is a MyApplication.sln and a MyApplication.csproj, so I don't know why it's not finding the project. (I also then tried creating a C++ instead of C# application, but there's still nothing under the Projects tab, and selecting the .vcxproj file via the Browse tab resulted in the same error as selecting the .csproj file.) Or could it mean there's something unusual about my Visual Studio configuration (although I think I did a very generic installation)? I forgot to mention I'm on Windows XP SP3 (5.1.2600 Service Pack 3 Build 2600). Here's what the "About Microsoft Visual Studio" dialog reports: > Microsoft Visual Studio 2010 > Version 10.0.40219.1 SP1Rel > Microsoft .NET Framework > Version 4.0.30319 SP1Rel > > Installed Version: Professional > > Microsoft Office Developer Tools 01018-532-2002181-70504 > Microsoft Office Developer Tools > > Microsoft Visual Basic 2010 01018-532-2002181-70504 > Microsoft Visual Basic 2010 > > Microsoft Visual C# 2010 01018-532-2002181-70504 > Microsoft Visual C# 2010 > > Microsoft Visual C++ 2010 01018-532-2002181-70504 > Microsoft Visual C++ 2010 > > Microsoft Visual F# 2010 01018-532-2002181-70504 > Microsoft Visual F# 2010 > > Microsoft Visual Studio 2010 Team Explorer 01018-532-2002181-70504 > Microsoft Visual Studio 2010 Team Explorer > > Microsoft Visual Web Developer 2010 01018-532-2002181-70504 > Microsoft Visual Web Developer 2010 > > Crystal Reports Templates for Microsoft Visual Studio 2010 Crystal > Reports Templates for Microsoft Visual Studio 2010 > > Hotfix for Microsoft Visual Studio 2010 Professional - ENU > (KB2522890) KB2522890 > This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. > If you later install a more recent service pack, this hotfix will be > uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2522890. > > Hotfix for Microsoft Visual Studio 2010 Professional - ENU > (KB2529927) KB2529927 > This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. > If you later install a more recent service pack, this hotfix will be > uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2529927. > > Hotfix for Microsoft Visual Studio 2010 Professional - ENU > (KB2548139) KB2548139 > This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. > If you later install a more recent service pack, this hotfix will be > uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2548139. > > Hotfix for Microsoft Visual Studio 2010 Professional - ENU > (KB2549864) KB2549864 > This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. > If you later install a more recent service pack, this hotfix will be > uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2549864. > > Hotfix for Microsoft Visual Studio 2010 Professional - ENU > (KB2565057) KB2565057 > This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. > If you later install a more recent service pack, this hotfix will be > uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2565057. > > Hotfix for Microsoft Visual Studio 2010 Professional - ENU > (KB2635973) KB2635973 > This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. > If you later install a more recent service pack, this hotfix will be > uninstalled automatically. > For more information, visit http://support.microsoft.com/kb/2635973. > > Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 > (KB983509) KB983509 > This service pack is for Microsoft Visual Studio 2010 P
Re: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)
That was it, thanks!! I've added the MyApplication project to the solution for MySetup, and now it shows up under the Projects tab. I hadn't used the "Add References" feature of VS2010 before, so this wasn't at all obvious to me. Also, I was using the default setting in the New Project dialog, which has "Create new solution" selected rather than "Add to solution." The instructions could clarify that they need to be in the same solution. Something else that could be slightly clearer in the instructions is this step: "Find the comment that says:" which could be improved by saying where to look for it: "Double-click Product.wxs under MySetup. Find the comment that says:" Thanks again, Doug On 9/19/2012 10:35 AM, Hoover, Jacob wrote: > Silly question but you do have both projects within the same solution, right? > > -Original Message- > From: Doug Keislar [mailto:d...@musclefish.com] > Sent: Wednesday, September 19, 2012 12:21 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] instructions for "Creating a Simple Setup" don't > work (using VS2010 and WiX 3.6) > > Thanks, Jacob, for the explanation about Setup Project being the right type. > Good to know. > > Actually, I didn't miss the next step about selecting the Projects tab. > I did select it, but as I had mentioned (probably not very clearly), there > were no items listed under Projects at all (which is why I then tried to find > MyApplication via the Browser tab of the same dialog). > > Does that mean I didn't follow Step 1 correctly in creating MyApplication? > It's hard to see what I could have done wrong, since that step is so simple. > What kind of file is Visual Studio looking for in order to list a project > under the Projects tab? There is a MyApplication.sln and a > MyApplication.csproj, so I don't know why it's not finding the project. (I > also then tried creating a C++ instead of C# application, but there's still > nothing under the Projects tab, and selecting the .vcxproj file via the > Browse tab resulted in the same error as selecting the .csproj file.) > > Or could it mean there's something unusual about my Visual Studio > configuration (although I think I did a very generic installation)? I forgot > to mention I'm on Windows XP SP3 (5.1.2600 Service Pack 3 Build 2600). > Here's what the "About Microsoft Visual Studio" dialog reports: > >> Microsoft Visual Studio 2010 >> Version 10.0.40219.1 SP1Rel >> Microsoft .NET Framework >> Version 4.0.30319 SP1Rel >> >> Installed Version: Professional >> >> Microsoft Office Developer Tools 01018-532-2002181-70504 >> Microsoft Office Developer Tools >> >> Microsoft Visual Basic 2010 01018-532-2002181-70504 >> Microsoft Visual Basic 2010 >> >> Microsoft Visual C# 2010 01018-532-2002181-70504 >> Microsoft Visual C# 2010 >> >> Microsoft Visual C++ 2010 01018-532-2002181-70504 >> Microsoft Visual C++ 2010 >> >> Microsoft Visual F# 2010 01018-532-2002181-70504 >> Microsoft Visual F# 2010 >> >> Microsoft Visual Studio 2010 Team Explorer 01018-532-2002181-70504 >> Microsoft Visual Studio 2010 Team Explorer >> >> Microsoft Visual Web Developer 2010 01018-532-2002181-70504 >> Microsoft Visual Web Developer 2010 >> >> Crystal Reports Templates for Microsoft Visual Studio 2010 Crystal >> Reports Templates for Microsoft Visual Studio 2010 >> >> Hotfix for Microsoft Visual Studio 2010 Professional - ENU >> (KB2522890) KB2522890 >> This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. >> If you later install a more recent service pack, this hotfix will be >> uninstalled automatically. >> For more information, visit http://support.microsoft.com/kb/2522890. >> >> Hotfix for Microsoft Visual Studio 2010 Professional - ENU >> (KB2529927) KB2529927 >> This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. >> If you later install a more recent service pack, this hotfix will be >> uninstalled automatically. >> For more information, visit http://support.microsoft.com/kb/2529927. >> >> Hotfix for Microsoft Visual Studio 2010 Professional - ENU >> (KB2548139) KB2548139 >> This hotfix is for Microsoft Visual Studio 2010 Professional - ENU. >> If you later install a more recent service pack, this hotfix will be >> uninstalled automatically. >> For more information, visit http://support.microsoft.com/kb/2548139. >> >> Hotfix for Microsoft Visual Studio