Skip to content

How to build setup installer for visual c++ application

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #191491
    method
    Member

    Hi all. i have a few visual c++ program and i wonder how i can make an setup installer for it . My purpuse is to send it to some one who has no knowlege of compiling and using visual stuidio 6 and i want him to run the install and be able to use the applicaion with out needs for him to install compiler and compile the program. Just like commertional programs that we buy. I be happy if an expert tell me what tools i need and how i can achive it.

    I am using visual studio version 6 . could u tell me how i can compile the source files into an .exe file? I looked at file menue but i did not see any option to make .exe for vc++ project!!Thanks

    #191498
    Dody
    Member

    to build your code press F7
    you excute the program after compiling press Ctrl + F5

    #191497
    method
    Member

    @Dody wrote:

    to build your code press F7
    you excute the program after compiling press Ctrl + F5

    Dody thank u for u reply. where the .exe file will be stored? which folder? furthermore . Is the code protable like java programs or do i need to extra files with it to work when it is used in diffrent mechines?Thanks

    #191496
    Dody
    Member

    @method wrote:

    @Dody wrote:

    to build your code press F7
    you excute the program after compiling press Ctrl + F5

    Dody thank u for u reply. where the .exe file will be stored? which folder?

    Go to the vc++ folder and to My Projects -> the name of your project -> debug, then you will find a .exe file named as your project

    furthermore . Is the code protable like java programs or do i need to extra files with it to work when it is used in diffrent mechines?Thanks

    it is not like java, because java will work under any other OS, but c++ will work for sure with the same platform you compiled it with, so if you compile a program under windows platform, then you don’t need any extra files and it will be run very smoothly with windows platforms

    note: if you compile withthe debug mode, then it will only work with people who have installed the vc++, otherwise you need to compile it with the release mode

    #191495
    method
    Member

    Dody many many thanks for u nice explantion. Could u tell me how i know i am not in debug modeu when creating my .exe file using visual studio 6.Thanks

    #191494
    Dody
    Member

    it depends on what are you trying to use, are you using MFC or a normal Win32 consol application ?

    #191493
    method
    Member

    @Dody wrote:

    it depends on what are you trying to use, are you using MFC or a normal Win32 consol application ?

    At this moment Win32 consol applications.

    #191492
    Dody
    Member

    if it is Win32 consol applications then you don’t have to worry about the debug or release modes 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.