none
Installer problem RRS feed

  • Question

  • I have just learnt to use the installer. The problem I have is that normaly before I use an installer I secure the software so it cannot be copied by using a 3rd party solution, it adds to the .exe file. How can I secure the application before adding it to the installer? I am using VS 2008. Any ideas gratefully appreciated
    Saturday, April 25, 2009 8:44 PM

Answers

All replies

  • Hello,

    I am not very sure about what you mean by "I secure the software so it cannot be copied by using a 3rd party solution"? Did you mean that your application is no longer available if users just copy it to another machine? As far as I know, to protect our software, we can try the following ways.

    1. Trial Version
    We can create a trial version of our application, for example the application only runs for 30 days, or user can only run your application 200 times. We can store the number of remaining days or uses in a file or registry table.

    2. Incomplete Release.
    We can create two versions of our application, incomplete version and full version. The in incomplete version allows the user have a try of our application(usually basic operations). The full version is the one given to the user who has paid for the software.

    3. Unblocking Code
    The application is fully deployed to the client machine, however it is not available until the user provide an unlock code which unleashes all the power of the software.

    More information, please check:
    http://www.codeproject.com/KB/library/ssdsdk.aspx

    As Vegan Fanatic suggest, if the copy protection creates another EXE, you can try to stuff it into your installer fine. Since we don’t know your third party tool, we are not sure if it works for you. You can check the third party tool documentation to see if it asks you to ship some extra dll file to help to protect the application from being copied.

    In the future, if your problem is about Windows Installer, I recommend you post in the Setup forum for better response.
    http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads 

    Thanks,
    Rong-Chun Zhang


    Please mark the replies as answers if they help and unmark if they don't.
    Welcome to the All-In-One Code Framework, a sample code project owned by the MSDN Forum Support team!
    Monday, April 27, 2009 8:10 AM
  • Thanks,
    It does create another exe file, how do I stuff it into the microsoft deployment tool that is on VS2008?
    Monday, April 27, 2009 4:24 PM
  • Hello,

    To package an executable file, we can create an setup project in Visual Studio. Detailed steps, please check:

    http://msdn.microsoft.com/en-us/library/19x10e5c.aspx

    Then, we can go to the File System Editor ("View" -> "Editor" -> "File System"), select Application Folder and add the executable file to the folder(right click on "Application Folder" -> "Add" -> "File").

    More information:
    http://support.microsoft.com/kb/307353

    Thanks,
    Rong-Chun Zhang
    Please mark the replies as answers if they help and unmark if they don't.
    Welcome to the All-In-One Code Framework, a sample code project owned by the MSDN Forum Support team!
    • Marked as answer by rockmate Tuesday, April 28, 2009 11:20 AM
    Tuesday, April 28, 2009 2:59 AM
  • Thank you, that works.
    Tuesday, April 28, 2009 11:20 AM