Installer trying to install in the wrong place?

Do you program directly PostSharp.CodeModel or another low-level API and need help? Put your questions here and we will try to answer.

Installer trying to install in the wrong place?

Postby henrik on Tue Feb 19, 2008 4:16 pm

Hi,

How does the PostSharp setup determine where to find Visual Studio?

I was trying to install PostSharp, but the setup fails. After enabling logging, I found something that looks odd:

Property(S): ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 = C:\Program\
Property(S): VS7.3643236F_FC70_11D3_A536_0090278A1BB8 = C:\Program\Microsoft Visual Studio .NET\
Property(S): VSCommonFiles.3643236F_FC70_11D3_A536_0090278A1BB8 = C:\Program\Microsoft Visual Studio .NET\Common7\
Property(S): CommonIDE.3643236F_FC70_11D3_A536_0090278A1BB8 = C:\Program\Microsoft Visual Studio .NET\Common7\IDE\

Odd, because I don't have that directory and never have had it AFAIK. It should be C:\Program\Microsoft Visual Studio 8...

Any clues?

Edit: attached install log
You do not have the required permissions to view the files attached to this post.
henrik
 
Posts: 2
Joined: Tue Feb 19, 2008 4:04 pm
Full Name: Henrik Isaksson

Re: Installer trying to install in the wrong place?

Postby gfraiteur on Tue Feb 19, 2008 11:41 pm

Henrik,

I guess this is due to a merge module provided by Microsoft (the one installation PostSharp help into VS collections). Can you file a bug on http://www.postsharp.org/tracker?

Thank you.

Gael
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 581
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org

Re: Installer trying to install in the wrong place?

Postby henrik on Thu Feb 21, 2008 9:21 pm

The installer worked when I created a new windows account and ran it from within that account. Apparently there is something wrong with the user environment...

This was after scanning the entire registry, and all files on the hard drive to find that folder name. The only place I found it was inside the install log... :)

Edit:
After installing from this other account, I now have the directory C:\Program\Microsoft Visual Studio .NET\Common7\IDE. But it is empty... (all of them are empty)
I'm really confused... but postsharp works now, so I'm happy anyway :D
henrik
 
Posts: 2
Joined: Tue Feb 19, 2008 4:04 pm
Full Name: Henrik Isaksson

Re: Installer trying to install in the wrong place?

Postby gfraiteur on Fri Feb 22, 2008 10:07 am

Strange. I will have a closer look at it when I'll have some time. It's on my stack :( .

There is now a "binary-no installer" distribution for rare cases when the installer fails.

Gael
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 581
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org


Return to PostSharp Core