This project is read-only.

Unable to install T4 Toolbox

Jan 26, 2010 at 4:47 PM


I am having trouble installing T4 toolbox on my PC running Windows 7, on running the msi installer, it comes up with the error ' T4 Toolbox requires Visual Studio 2008 or later...'. I have got VS 2008 SP1 Professional Edition installed. 



Jan 29, 2010 at 4:40 AM

Me too... Windows 7 with VS2010 Premium Beta 2. Have tried the last few latest builds of the toolbox installer.




Jan 29, 2010 at 12:34 PM

Can you install T4 Toolbox using the following command line and email the log file to me at oleg underscore sych at hotmail dot com?

msiexec /i t4toolbox.msi /lvx* install.log


Feb 2, 2010 at 12:24 AM

I have narrowed down the problem to the following section in the install.log Ilias sent to me:


MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property VISUALSTUDIO9_APPLICATIONID
MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property DEVENV9_EXE
MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property VISUALSTUDIO9_ITEMTEMPLATESDIR
MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property VISUALSTUDIO10_ITEMTEMPLATESDIR
MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property INSTALLLOCATION
MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property VSIPCC
MSI (s) (F0:A4) [14:39:46:615]: Ignoring disallowed property TARGETDIR


In particular, it is the value of VISUALSTUDIO9_APPLICATIONID property that is used in verifying whether T4 Toolbox can be installed. For some reason it is being ignored by MSI on Iliases computer. I am not an MSI expert and don’t really know what may be causing this behavior. Are you running the installer as the local administrator?



Feb 2, 2010 at 1:00 AM

I am part of the local administrators group... so effectively it is being run as local admin...



Feb 2, 2010 at 9:26 AM

Thanks for looking into this Oleg. Did some googling around and it looks like its got to do privilege elevation that happens during installs ( - the article is for Vista but I presume its the same for Win7). Do you have a VS2008 version of your solution, I can try and resolve this issue, will give me a chance to look at Wix. 

Feb 2, 2010 at 1:22 PM
Edited Feb 2, 2010 at 1:26 PM

Ilias, the T4 Toolbox solution is built in Visual Studio 2010. I have seen the article you mentioned, it appears that one way to solve the problem is to add VISUALSTUDIO9_APPLICATIONID and other properties being ignored on your machine to the SecureProperties table. I don't pretend to be an MSI expert - do you know if this is the recommended way of fixing this issue?  If yes, perhaps it would be easier for you to modify the T4Toolbox.msi using Orca to try this out. If not, here is how you can compile the solution in Visual Studio 2010.

Andrew, are you seeing the same messages in your install log?


Feb 3, 2010 at 9:29 AM

Yes - same messages in my install log.



Feb 4, 2010 at 12:37 PM

Unfortunately, it runs without errors on my Win7 64bit laptop. There must be something different between our machines. How is your UAC configured?