Windows Installer Editor Reference
310
Working With Source Paths
c.
Click OK to exit Wise Options.
2. Select Source Control menu > Add.
Dialog boxes from your SCCS appear, in which you connect to your SCCS and select
the location where this installation should be stored.
To get further help on any of
these options, see the help system for your SCCS.
If this installation is already located
in your SCCS, you can connect to it by selecting its current location when prompted.
After the SCCS-related dialog boxes appear, the Add to Source Control dialog box
appears. This dialog box contains the files that you add to the installation and
resource files from the Windows Installer Editor directory that are part of every new
installation.
Note
If you are working in a .WSI, only the .WSI can be added to source control; there is
no way to add the corresponding compiled .MSI. The .WSI or .MSI you are working
in does not appear on the Add to Source Control dialog box because it is added
automatically. Only files that are currently part of the installation appear. If you later
add more files, repeat this process to add those files to the SCCS.
3. On the Add to Source Control dialog box, mark the check boxes of the files to add to
source control and click OK. Comments, which are stored as an attribute of the file
in the SCCS, are optional. If necessary, scroll to the right to view the Type and File
Path columns.
The Copy Files to New Location dialog box appears if any files are not in the
directory tree of the installation file. Because all files that you add to source control
must be in the same directory tree as the installation file, this dialog box prompts
you to move the files to a new directory under the installation file directory.
4. Mark the check boxes of the files to copy to the same directory tree as the
installation file. To change the new location, click Change Dir and select another
directory within the same directory tree.
The New Location column indicates the directory to which files will be copied. (Scroll
right to see the New Location column.) If you later edit a file, you must edit the file
that is copied to the new location, because that is the file that is compiled into the
installation.
Note
To avoid moving files, cancel this operation, remove this project from source control,
and move the installation file into the same directory tree as its source files.
5. Click OK.
After the installation is added to your SCCS, use the options in the Source Control menu
to coordinate file transactions between your computer and the SCCS. Whenever you add
files to the installation, repeat the process above to add them to your SCCS.
See also:
Adding Files to an Installation in Source Control
on page 310
Adding Files to an Installation in Source Control
When you add files to an installation, you must also add them to your source code
control system (SCCS), even if you previously added the installation to source control.