Unable to install T4 Toolbox

Jan 26, 2010 at 3:47 PM

Hi,

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. 

Thanks,

ilias

Jan 29, 2010 at 3:40 AM

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

:(

 

Andrew

Coordinator
Jan 29, 2010 at 11:34 AM

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

Thanks,
Oleg

Coordinator
Feb 1, 2010 at 11:24 PM

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?

 

Oleg

Feb 2, 2010 at 12:00 AM

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

 

Andrew

Feb 2, 2010 at 8: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 (http://www.installsite.org/pages/en/msi/articles/VistaMSI/index.htm - 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. 

Coordinator
Feb 2, 2010 at 12:22 PM
Edited Feb 2, 2010 at 12: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?

Oleg

Feb 3, 2010 at 8:29 AM

Yes - same messages in my install log.

 

Andrew

Coordinator
Feb 4, 2010 at 11:37 AM

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

Oleg