Results 1 to 5 of 5

Thread: Inno Setup, Stop overwriting database

  1. #1

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Talking Inno Setup, Stop overwriting database

    Hey people,

    i am using Inno Setup to install a program and database, but if they database already exists fro a previous version i dont want to overwrite it. What flags do i use?

    cheers

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno Setup, Stop overwriting database

    I_Love_My_Vans,

    onlyifdoesntexist
    Only install the file if it doesn't already exist on the user's system.

    Look in Inno Setup's help section under [Files] for a complete listing of Flags that can be used in the Files Section.

  3. #3

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: Inno Setup, Stop overwriting database

    Also when uninstalling how do i choose not to uninstall a file it installed?

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Inno Setup, Stop overwriting database

    I_Love_My_Vans,

    uninsneveruninstall
    Never uninstall this file. This flag should be used sparingly, and is usually used in combination with the onlyifdoesntexist flag. It is meant to be used when installing a very common shared file, such as CTL3DV2.DLL or an MFC DLL, because you wouldn't want the uninstaller to delete the file since other applications make use of it also.

    Look in Inno Setup's help section under [Files] for a complete listing of Flags that can be used in the Files Section.

  5. #5

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: Inno Setup, Stop overwriting database

    Lol, thanks, i was looking in the FAQ instead of the help file.

    Cheers

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