What does register server do

Started by langals, April 18, 2005, 06:17:05 AM

Previous topic - Next topic

admin

langals,
 
If they open the file instead of download it, basically this will run the file after downloading it to a temp folder. This is why you include the file in your script. The the user does not have to do anything.
 
BTW: We make InnoScript not Inno Setup. Inno Setup is made and supported by http://www.jrsoftware.org

langals

Hi again
 
I am quickly going to add another question. Is there anyway to make Inno begin installing when the file has finished downloading? The reason I am asking is that many users seem to download the file and do not note where they downloaded it to.
 
many thanks
 
langals

langals

Hi there
 
One more question:
 
I am using the RTC Client API, which can be installed as side-by-side assemblies in Windows XP (which allows multiple version of the same file to be used by different applications). Now, my app uses vers 1.2. Firstly, I don't think Inno Setup supports the installation of side-by-side assemblies and secondly, not sure if these can be used on Windows 2000 (I want my app to run on 2000 and XP).
 
One option is to just install into the system32 folder like all other files. The RTC Client is backwards compatible, so I suppose it should be fine. But if side-by-side assemblies are in use, then these files will all be in the WinSxS folder. Is it ok to create a duplicate in the system32 folder (as I won't know if this version is already in the WinSxS folder)?
 
The other option is to install the RTC Client files into the app directory and use a .local file to point the app to these files. But not sure whether this is supported in Windows XP.
 
Sorry about the long post - I am a bit confused about the best option to take.
 
many thanks
 
langals

admin

langals,
 
It is always best for the installer to register the files. One would not want the user to do things like that. Shared Files are not neccessarily Files that need to be registered. So no the sharedfile flag will not register the file.

langals

Hi there
 
Thanks for replying. I really appreciate the help. I have a couple of follow up questions just to be clear:
 
1. Is it ok to let inno automatically register files, instead of registering them manually?
 
2. If a file does not support RegisterServer, and does not yet exist on the user's system, will the Sharedfile flag still register the file?
 
many thanks
 
langals

admin

langals,
 
No, the file will not be registered with RegisterServer if it cannot be. All files cannot be registered. It will however be counted as a shared file with the Sharedfile flag.

langals

Hi there
 
I have a query regarding configuration of an inno setup script.
 
I am working with shared files, and would want to create a shared reference count so that the files are only uninstalled if no other application is using them.
 
My question is what is the effect of setting Register Server and Shared File for a file, because with some files it does not allow you to set Register Server
 
If one does not set Register Server and only sets Shared File, is the file still registered and a shared reference count created?
 
Many thanks
 
langals