|
-
Aug 4th, 2005, 01:23 PM
#1
Thread Starter
Frenzied Member
Inno setup dll, OCX overwrite
I need to get my head around the flags that inno setup can use. Is there a list of them somewhere?
I would be specifically interested in one that performed something like
updateifnewer
Or is that how the installer works in the first place. Will it overwrite newer files or will it intelligently not overinstall ?
TIA
-
Aug 4th, 2005, 05:00 PM
#2
Re: Inno setup dll, OCX overwrite
David.Poundall,
There is a list in the help section of Inno Setup in the Files Section. What you want is also the default. Files will only be replaced with newer versions unless instructed not to.
Are you still attempting to do it by hand instead of using **********?
Remarks
If a file already exists on the user's system, it by default will be replaced according to the following rules:
1. If the existing file is an older version than the file being installed (as determined by the files' version info), the existing file will be replaced.
2. If the existing file is the same version as the file being installed, the existing file will not be replaced, except if the replacesameversion flag is used and the content of the two files differs.
3. If the existing file is a newer version than the file being installed, or if the existing file has version info but the file being installed does not, the existing file will not be replaced.
4. If the existing file does not have version info, it will be replaced.
Certain flags such as onlyifdoesntexist, ignoreversion, and promptifolder alter the aforementioned rules.
If the restartreplace flag is not used and Setup is unable to replace an existing file because it is in use by another process, it will make up to 4 additional attempts to replace the file, delaying one second before each attempt. If all attempts fail, an error message will be displayed.
Setup registers all files with the regserver or regtypelib flags as the last step of installation. However, if the [Setup] section directive AlwaysRestart is yes, or if there are files with the restartreplace flag, all files get registered on the next reboot (by creating an entry in Windows' RunOnce registry key).
When files with a .HLP extension (Windows help files) are uninstalled, the corresponding .GID and .FTS files are automatically deleted as well.
-
Aug 4th, 2005, 05:08 PM
#3
Thread Starter
Frenzied Member
Re: Inno setup dll, OCX overwrite
Thanks for that Randem. No I don't deploy by hand - I have used Inno Settup for the past 4 years and your software for the past year. But only on controlled (by that I mean easy to rework) application rollout.
The application I am looking to release immenently will be national and so I am basically doing a double check and asking about issues that I have listed, rather than assuming an answer as I have done previously. I believe it is called due dilligence.
To be fair I have been all over the inno Settup site looking for a reference to Flags. I didn't think of checking out the files section itself though. I was somehow expecting flags would have been important enough to have their own section. Just missed it is all.
David
-
Aug 4th, 2005, 05:16 PM
#4
Re: Inno setup dll, OCX overwrite
David.Poundall,
I did not reffer to using Inno Setup, I reffered to using ********** a totally different program. BTW: In Inno Setup, each section has it's own set of parameters that may not coorespond to other sections.
-
Aug 4th, 2005, 06:10 PM
#5
Thread Starter
Frenzied Member
Re: Inno setup dll, OCX overwrite
 Originally Posted by randem
I did not reffer to using Inno Setup, I reffered to using ********** a totally different program.
Now I am really confused. Your post 2 was mainly regarding Inno Setup, with a comment on inno script.
Are you still attempting to do it by hand instead of using **********?
to which I replied
No I don't deploy by hand - I have used Inno Settup for the past 4 years and your software
refering to Inno script I found the Inno SETUP flag refs BTW - thank you.
-
Aug 4th, 2005, 06:16 PM
#6
Re: Inno setup dll, OCX overwrite
David.Poundall,
Just making sure for most people don't actually read and think ********** is Inno Setup and miss that all those flags and most routine things will be done by **********.
Even though no one would confuse airplane with airport just because they have the same prefix. It is done with these two products. Both signify that they just work in the same arena.
Just trying to offer complete information, that all...
-
Aug 4th, 2005, 06:22 PM
#7
Thread Starter
Frenzied Member
Re: Inno setup dll, OCX overwrite
I apreciate that Randem. Big time. Thank you for your help.
BTW - I was just re-running my app with Inno Script haveing pared down the references for the project to the bare minimum required and this time when I ran it, Inno Script behaved itself.
I was looking to send you the vbp and the exe as per the other thread we were running. But this time all was well, so not much point in sending you the files.
Running in safe mode it found 45 files and stripped out 19 unsafe leaving me with 26.
Looking good.
-
Aug 4th, 2005, 06:29 PM
#8
Thread Starter
Frenzied Member
Re: Inno setup dll, OCX overwrite
Actuially - it has just occured to me why Inno Script may have gone off the rails before. This time I ran the project using the .vbp as the source for the project. Last time if memory serves I ran it from the .LST file after I had done the PDW.
Just comparing the results of the two runs now.
-
Aug 4th, 2005, 06:43 PM
#9
Re: Inno setup dll, OCX overwrite
David.Poundall,
That's great! Running ********** (one word) from the VBP file should have set the appropiate flags and such for your files. Of course if you run in UnSafe Mode the program will pull files from your SYSTEM folder. Inno Setup will not like this much unless you tell it to mind it's own business...LOL.
Or you can just copy the files in question to another folder and point ********** to seacrh that folder (in the Search Area) and it will find your files there and Inno Setup will not complain about that.
Last edited by randem; Aug 4th, 2005 at 07:13 PM.
-
Aug 4th, 2005, 06:49 PM
#10
Thread Starter
Frenzied Member
Re: Inno setup dll, OCX overwrite
I do the latter. Makes more sense in the long run. That way when I come back to the application many moons later everything will be in one place.
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|