Click here to Skip to main content
15,920,602 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
1) created installer using wix3.8.1128.0,windows 8 operating system in visual studio 2013.
the installer has dailog to enter sqlserver instance name, databasename and sqlserver crendentails. The .msi works fine with out any issues in windows 8 and windows 7.

2)The same .msi is not working in windowsxp sp2.when i see package logfile custom action exceuting and returning 1 but its not able to set the property value to 1.

3) I set <startup useLegacyV2RuntimeActivationPolicy="true"> and added .Netframework2.0 as a supportedruntimeversion. First mentioned supportedruntimeVersion as.netframework4.0 and then .netframework2.0. still it didn't work.

what should i do to work the same .msi in windowsxp sp2. any idea or suggestion
Posted
Updated 7-Apr-14 22:17pm
v2

1 solution

I figured out solution for the above problem.

Th wix installer version above mentioned required .netframework4.0. I installed .netframwork 4.0 client profile or .netframework4.0 extended(since my application was developed under .netframework4.0 client profile) then .msi created in windows 8 is working fine in windows xp sp2 as well as in windows xp sp3.
 
Share this answer
 
v2
Comments
Volynsky Alex 9-Apr-14 14:01pm    
Nice answer!
keerth516 11-Apr-14 1:00am    
Alex,Thanks a lot.I struggled two days to know what was the solution then i found the above solution.Hope it may help others who had same problem.:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900