Ocx/Dll files are marked as shared

Started by Randem, November 02, 2011, 09:45:22 AM

Previous topic - Next topic

Randem

Negative, InnoScript is designed primarily to find all the file you need and add the correct flags. If you want to change that functionality you either need to use a template to alter the script of use your script editor to modify it.  
 
I suggest using the template so that you do not have to remember to manually modify the script each time you re-create it.

pagesoft

Yes no other applciation will use the dll or ocx.  The dll/ocx's are Proprietary and can not be used by any one else.
 
I can use InnoIDE and turn sharing off but I was thinking that if a button is off then the script should not add the feature.

Randem

Yes, that is correct. If you would not like the shared flag on them you can override the flag by putting that line in the template for your application and removing the shared flag on that line. InnoScript will replace the line with the one in the template.
 
So you are saying the no other application will use your dll/ocx correct. Remember that flag is only there to tell the OS that it should check the count when you uninstall your application to make sure no other application that was installed is currently using that ocx/dll and not to uninstall it if it is.

pagesoft

I have several ocx/dll files that I have created and when I add them to project I do not set the shared flag.  When the Inno project is compiled they show flag as shared.  Is the flag correct?
 
I want some shared Dll/OCX's and some Not.