Looking at the MSBuild output for the votive2005.csproj, I see that the zips were already being copied to the appropriate places, so I guess that wasn't the issue. I'm stumped. FYI, I am developing changes on top of version 3.0.4923.0; if there is a known issue with votive for that build, I will go ahead and update, but I'd rather avoid it if I can. We are performing QA runs of our installation packages (with some custom changes to the IIS and Util extensions), so I'd rather not introduce too many unknown quantities.
I did peruse the bug tracker, and found the following bugs that relate to the issues I am experiencing: No WiX project templates in VS 2005 - ID: 2586446 Visual Studio 2005 Solution Explorer-Project Missing (Vista) - ID: 2368345 (although I am on XP SP3 x86) Wix projects fail to appear in Solution Explorer - ID: 2051681 I looked at http://blogs.msdn.com/jasongin/archive/2008/07/09/votive-project-platform-configurations.aspx but it does not seem to apply, since I am not opening any existing projects or solutions. As a side note, does anyone know of documentation for the visual studio project file formats (and perhaps how they translate to built-in MSBuild actions)? Trying to determine where the files are going just by looking at the project files is quite difficult; hopefully I'm missing something easy. Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ -------- Original Message -------- Subject: Registering votive in build\debug\x86 with VS 2005 From: Thomas S. Trias <tomtr...@artizan.com> To: 'General discussion for Windows Installer XML toolset.' <wix-users@lists.sourceforge.net> Date: 4/6/2009 6:26 PM > I got past the first two hurdles, getting votive2005 to build, > modifying RegisterVotive.bat to use the build\debug\x86 directory, but > when I go to add a .WIX project, the solution explorer goes blank > (although it says Project1 created successfully). > > Here is my modified RegisterVotive.bat: > > ------- SNIP ------- > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > > > :: RegisterVotive.bat > :: ------------------- > :: Preprocesses all of the various support files for working with > Votive in a development > :: environment and then registers Votive with Visual Studio 2005. > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > > > > @echo off > setlocal > > :: When running under 64-bit Windows, the registry key is stored under > the Wow6432Node. > set > VS_REGKEYROOT=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp > if /i [%PROCESSOR_ARCHITECTURE%]==[AMD64] set > VS_REGKEYROOT=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\8.0Exp > > > > :: Make sure the SDK is installed (the experimental hive is registered). > reg query %VS_REGKEYROOT%\Setup\VS /v EnvironmentPath > NUL 2> NUL > if not %errorlevel% == 0 ( > echo VS SDK for Visual Studio 2005 is not installed. Skipping > registration. > goto End > ) > > :: Try to get the paths to Visual Studio > for /f "tokens=3*" %%a in ('reg query %VS_REGKEYROOT%\Setup\VS /v > EnvironmentPath ^| find "EnvironmentPath"') do set DEVENVPATH_2005=%%a > %%b > for /f "tokens=3*" %%a in ('reg query %VS_REGKEYROOT%\Setup\VS /v > EnvironmentDirectory ^| find "EnvironmentDirectory"') do set > DEVENVDIR_2005=%%a %%b > :: GUIDs > set PACKAGE_GUID={E0EE8E7D-F498-459E-9E90-2B3D73124AD5} > set PROJECT_GUID={930C7802-8A8C-48F9-8165-68863BCCD9DD} > set XML_EDITOR_GUID_2005={FA3CD31E-987B-443A-9B81-186104E8DAC1} > > :: Toools declarations > :: set VOTIVE_PREPROCESSOR=%~dp0..\..\..\Release\debug\VotivePP.exe > set VOTIVE_PREPROCESSOR=%WIX_ROOT%\build\debug\x86\VotivePP.exe > > :: Directories > :: set SCONCE_TARGETDIR=%TARGETROOT%\wix\x86\debug\lang-neutral\ > set SCONCE_TARGETDIR=%WIX_ROOT%\build\debug\x86\ > set SCONCE_TARGETPATH=%SCONCE_TARGETDIR%sconce2005.dll > :: set VOTIVE_TARGETDIR=%TARGETROOT%\wix\x86\debug\lang-neutral\ > set VOTIVE_TARGETDIR=%WIX_ROOT%\build\debug\x86\ > set VOTIVE_TARGETPATH=%VOTIVE_TARGETDIR%votive2005.dll > :: set WIXTOOLSDIR=%TARGETROOT%\wix\x86\debug\lang-neutral\ > set WIXTOOLSDIR=%WIX_ROOT%\build\debug\x86\ > set ITEMTEMPLATESDIR=%DEVENVDIR_2005%ItemTemplatesExp\WiX\ > set PROJECTTEMPLATESDIR=%DEVENVDIR_2005%ProjectTemplatesExp\WiX\ > > :: Write the .reg files and use reg.exe to import the files > set REG_FILE=%~dp0Register.reg > echo Writing package registry settings for Visual Studio 2005... > "%VOTIVE_PREPROCESSOR%" -bs "%~dp0Register.reg.pp" "%REG_FILE%" > VS_REGKEYROOT="%VS_REGKEYROOT%" DLLPATH="%VOTIVE_TARGETPATH%" > DLLDIR="%VOTIVE_TARGETDIR%\" SCONCEPATH="%SCONCE_TARGETPATH%" > ITEMTEMPLATESDIR="%ITEMTEMPLATESDIR%\" > PROJECTTEMPLATESDIR="%PROJECTTEMPLATESDIR%\" > WIXTOOLSDIR="%WIXTOOLSDIR%\" DEVENVPATH="%DEVENVPATH_2005%" > PACKAGE_GUID=%PACKAGE_GUID% PROJECT_GUID=%PROJECT_GUID% > XML_EDITOR_GUID=%XML_EDITOR_GUID_2005% VS_VERSION=8.0 > VS_VERSION_YEAR=2005 > reg import "%REG_FILE%" > if exist "%REG_FILE%" del /q /f "%REG_FILE%" > echo Registering Votive with Visual Studio 2005 Exp... > echo "%DEVENVPATH_2005%" /setup /rootsuffix Exp > "%DEVENVPATH_2005%" /setup /rootsuffix Exp > echo. > > :End > endlocal > exit /b 0 > ------- SNIP ------- > > I am starting up Visual Studio 2005 with the "/rootsuffix Exp" flag. > Do I need to also copy the zip files to the ITEMTEMPLATESDIR / > PROJECTTEMPLATESDIR as well? If that is the case, then I think I will > modify things further to have the zip targets copied to sub-folders > below %WIX_ROOT%\build\debug\x86\ and set the template directories > accordingly. > > Any help would be greatly appreciated. > > Thanks, > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users