Results 1 to 6 of 6

Thread: Can users copy installed modules directly?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    South Charleston, WV, USA
    Posts
    607

    Can users copy installed modules directly?

    If I give a user an INNO setup install package of my VB project and he installs it on his computer, would he then be able to copy the files directly onto another computer and use the project or do other users have to have the setup also?

  2. #2
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,958

    Re: Can users copy installed modules directly?

    The simple answer is "it depends". If the setup is doing anything that can't be achieved by a simple file copy then things might not work if users don't run the installer.

    Typically the installer would be doing things like create start menu icons, ensuring all dependencies are installed and present,other things. registering COM components, creating files and registry keys amongst other things. Just copying files will not do any of these things and could cause the copied version to fail.

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Can users copy installed modules directly?

    If it's a simple project, it will probably work...as long as the framework is already installed on the target computer, which is becoming increasingly likely.

    The simplest way to find out, though, is to try it.
    My usual boring signature: Nothing

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    South Charleston, WV, USA
    Posts
    607

    Re: Can users copy installed modules directly?

    Thank you, Plausibly and Shaggy. My project is pretty simple: Windows forms plus Access database. I have devised a password scheme that won't work if the files can simply be copied. I've been advised that the way to secure an app is to store a key in the registry of the computer. Would you have any idea how to do this?

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Can users copy installed modules directly?

    Quote Originally Posted by projecttoday View Post
    Thank you, Plausibly and Shaggy. My project is pretty simple: Windows forms plus Access database. I have devised a password scheme that won't work if the files can simply be copied. I've been advised that the way to secure an app is to store a key in the registry of the computer. Would you have any idea how to do this?
    This isn't a VB.NET issue. If you're using INNO then you'll need to create the Registry key and value in your installer, so that's a question for the Application Deployment forum.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    South Charleston, WV, USA
    Posts
    607

    Re: Can users copy installed modules directly?

    I have posted in the Application Deployment forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width