开发者

c++ invisible app that launches an exe using native libraries

开发者 https://www.devze.com 2023-02-15 07:50 出处:网络
I\'ll begin with an apology since I am new to c++ and maybe my questions make no sense. I have a c# app, unfortunately it requires .Net framework to be installed on the machine.

I'll begin with an apology since I am new to c++ and maybe my questions make no sense.

I have a c# app, unfortunately it requires .Net framework to be installed on the machine. I'd like to make a c++ application that will copy a .Net installer from a cd, and run the installer on quite mode. The c++ app must be hidden, no console or what so ever, and also the most important thing is: it must run on a clean inst开发者_如何学Call of windows xp/

Please help me :)

I have no idea how to approach this, since I've never used c++ before.

P.S. (if it's possible to run a c# app that can do the above, saying how would be appreciated).

I tried googling but failed to get an answer


I dont know why you want to have a c++ app to launch the dot net installer. This can be achieved from within DOT NET env itself. Add a Setup project to your current solution. It can detect installed .net framework and depending on your application's dependencies can offer to install one automatically. However by default it will try to download the framework but if you intend to supply it on your CD you can configure it to pick up the installer from a local location as well. Refer here to get you started http://support.microsoft.com/kb/307353

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号