|
#1
|
|||
|
|||
|
HOWTO: Install Files to the Windows Directory
HOWTO: Install Files to the Windows DirectoryDocument ID: IR02001The information in this article applies to:
SUMMARYThis article describes how to install files to the Windows\System directory. DISCUSSIONAll Windows operating systems have a "Windows" directory (folder) where most of the operating system and many shared files on the operating system are stored. Normally this directory is either located at Normally, it is not necessary to install your program's files to the Windows directory or a subdirectory of the Windows directory. Here are a few cases in which you may need to do so:
Of course, there are other reasons as well, but they are less common. As a rule, if you do not have a good reason for installing to the Windows directory or a subdirectory of the Windows directory, don't. All of that being said, to tell Setup Factory to install a file to the Windows directory, do the following:
%WinDir% is Setup Factory variable that represents the user's Windows directory at design-time. We need to use a variable because at design-time we do not know what the user's Windows directory will be at run-time. When the user runs your install on their system, the variable will expand to the proper directory and the file will be installed there. If the file that you are installing is a shared DLL (a file that is used by more than one program), make sure that you turn on the Shared/System File option on the Advanced tab of the File Properties screen. This will ensure that your uninstall program does not remove the file if it is being used by other programs. MORE INFORMATIONRead the topics in the Command Reference | Variables book of the Setup Factory 6.0 online help for more information about variables. KEYWORDS: Windows directory, %WinDir%, Shared files, DLL, OCX Last reviewed: September 18, 2002 Copyright © 2002 Indigo Rose Corporation. All rights reserved. |
| Thread Tools | |
| Display Modes | |
|
|






Linear Mode
