Get error during installation

Questions about integration in Visual Studio, MSBuild or other IDEs or build tools.

Get error during installation

Postby sater on Wed Dec 26, 2007 4:16 am


When execute the MSI installer of [PostSharp-1.0.7.262.msi] , it shows the following error:
PostSharp 1.0[1.0.7.262] Setup Wizard ended prematurely
And I got the LOG file by commandline:
msiexec /log msi.log /i PostSharp-1.0.7.262.msi
Please download the log file from:
[url=http://download.frontfree.net/Temp/PostSharpInstallLog.rar][url=http://download.frontfree.net/Temp/PostSharpInstallLog.rar]http://download.frontfree.net/Temp/PostSharpInstallLog.rar[/url][/url]
(Seems the file size is over maximum attachment limit of this forum)
BTW, can anyone describe the manual install process without MSI Installer?
(I can got the "C:\Program Files\PostSharp 1.0" directory from another PC which run the installer successfully)
Sater
sater
 
Posts: 1
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Sater

Re: Get error during installation

Postby gfraiteur on Thu Dec 27, 2007 9:41 am

From your log:

MSI (s) (74:D4) [10:36:39:140]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed PostSharp 1.0 [1.0.7.262]".
MSI (s) (74:D4) [10:36:39:140]: The call to SRSetRestorePoint API failed. Returned status: 0. GetLastError() returned: 127


It seems that it is impossible to create a restore point, which is unfortunately independent from PostSharp.

Although it should work without that, try running msiexec from a console with elevated privileges.

The manuall installation is simply to copy "C:\Program Files\PostSharp 1.0" and

C:\Program Files\MSBuild\v2.0\Custom.After.Microsoft.Common.targets
C:\Program Files\MSBuild\v3.5\Custom.After.Microsoft.Common.targets
C:\Program Files (x86)\MSBuild\v2.0\Custom.After.Microsoft.Common.targets
C:\Program Files (x86)\MSBuild\v3.5\Custom.After.Microsoft.Common.targets

If one of these files already exists, merge things from PostSharp with existing stuff.

And put PostSharp.Public.dll and PostSharp.Laos.dll in GAC optionally.

Hope it works,

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


Return to Integration with IDE and Build Scripts