You must Sign In to post a response.
  • Category: Visual Studio

    I am Created One NOTEPAD Application and Generate Setup file, in installing time give me A Warning.

    Hello,
    I am Created one simple NOTEPAD Application in visual studio 2008.
    I am also Generated .EXE or SETUP file for it and SETUP file also generated successfully.
    But when I am Installing that SETUP file that time give a Warning like:

    Warning: This computer program is protected by copyright law and international treaties.
    Unauthorized duplication or distribution of this program of it, may result in severe civil or criminal penalties, and will be prosecuted to the maximum extent possible under the law.

    How I resolve this Warning?
  • #765658
    You can create only simple installers. You can not create any complex installers. If you want to create any complex installers you can go for Windows Installer SDK or you can try some third party installer.
    By Nathan
    Direction is important than speed

  • #765661
    This warning is displayed on first form of installation right ? this is the default text added in that form you can remove it or change its text.
    check properties of the project in solution explorer, you will see warning property there, you can change it or remove it completely

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765696
    Hi Deep Chothani.

    As you said you have successfully created the .exe file i.e., setup file but facing the problem while installing it.
    What name you have given to your .exe file? I think you have named it as notepad.exe which is already installed with the operating system in windows.
    So kindly change the name as mysamplenotepad or samplenotepad and generate the .exe file then try to install the samplenotepad.exe it will get installed successfully with out any warnings or errors.
    Hope this solves your issue.

    Sridhar Thota.
    Editor: DNS Forum.


  • Sign In to post your comments