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
Printable View
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
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.
Also when uninstalling how do i choose not to uninstall a file it installed?
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.
Lol, thanks, i was looking in the FAQ instead of the help file.
Cheers