Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

Currently, I have my application running on windows 7 ( also compiled on windows 7 using visual studio 10).

I wanted to run the install the same package (installer) on windows 10 system.

I have few questions as below:

a) Do I need to compile the binaries on windows 10 system using visual studio 2010?
b) Do I need to change configuration file as per windows 10 system files and registry? If at all there is a change is registry /files layout of windows 7 and windows 10.

any help or input will be appreciated.

Regards,
Joy

What I have tried:

Was trying to google on this, could not found anything much useful.
Posted
Updated 17-Apr-18 10:50am
Comments
Richard MacCutchan 16-Apr-18 13:17pm    
Why not just try it?

a) No. It makes no difference where you build the binaries as long as they are targeted correctly.

b) Most likely not. In my experience doing exactly what you describe, I have not had to change any registry paths. My programs have not done anything special with the registry though. They have a section in HKEY_CURRENT_USER and read from it and write to it. Some have a section in HKEY_LOCAL_MACHINE but that takes a few more gyrations from the standard profile handling stuff so I rarely do that.
 
Share this answer
 
Comments
joyjhonson 17-Apr-18 5:47am    
Thanks for reply..will work and provide feedback.Even I think that registry layouts are same for windows 7 and 10.
The easiest way is to activate static linking in th release build so you dont need the MFC dlls. Else you need a setup which installs the redistributable dlls. For a professional instllation you may need a installation tool when the installer in Visual Studio may be not enough for your needs.

You need to compile your app in x32 or x64 for such OS when you system calls.

Registry is needed for your app, when you havent provided the create flag when not already available.

My experience is that there is no way around testing on a typical target system.
 
Share this answer
 
Comments
joyjhonson 17-Apr-18 5:49am    
Thank you for reply. Good option but I feel due to project req , we do not want to activate static linking. Appreciate your response.
Rick York 17-Apr-18 10:28am    
The alternative is dynamic linking and it requires that you install the run-time libraries on all machines that will run your program. You will have bigger files with static linking but the RTL is not required to be installed.
a) no, just vs2010 runtime redistributable package needs to be installed.
b) no, it will work just fine.
 
Share this answer
 

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



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