Modify the CMS LOGO
1 CMS change logo related instructions
1.1 Work before packaging
1.1.1 Replacement of pictures
Make the format and size of the picture you want to change, and name them “logo.bmp” and “video.bmp” to change the boot logo and the video loss logo.
Replace the 2 pictures in the skin folder under the CMS installation directory, as shown in the following figure:
Note: Refer to the logo image size under the general CMS folder, the format must be bmp
1.1.2 Modify client name
If you want to change the name of the location as shown in the figure below, you must first change the corresponding name in the language folder under the CMS installation directory;
To change the display name in which language, find the corresponding language pack. Take simplified Chinese as an example, double-click “SimChinese.Lang” to find the previous corresponding
Modify the name as shown in the figure below:
Change the name you want to display here, and then save it as the previous “SimChinese.Lang” to replace the previous document. Note that the document format is .Lang,
Save it in this format when you save it.
1.1.3 Modification of Desktop Shortcut
This requires the use of a tool, which can be requested through consultation and research and development.
Click “File”, select Open, find the CMS installation directory, find “CMS.exe” and select, open, as shown in the figure below:
After opening, select, select the icon, and then select the No. 1 folder, as shown in the following figure:
Click “Operation”, select the replacement icon, and the following dialog box will pop up:
Click “New Icon File”, and find the new icon to be replaced within the pop-up search range, as shown in the figure below:
After selecting the icon above, click Open, and the following dialog box will pop up:
As shown in the figure above, you have selected the new icon, click “Replace”, return to the previous icon interface, the operation is basically completed, just save it, click “File”
Select “Save as” to pop up the following dialog box:
Name the file “CMS.exe” and click Save. The following icons in the directory where you choose to save are the files we need:
Replace the “CMS.exe” in the CMS installation directory with the file obtained by the tool in the above figure, and then package it, as shown in the following figure:
Note: The modification of the CMS shortcut will sometimes cause the program with the modified icon to be installed and then uninstalled, and then install the universal version of the CMS program, the icon will still be the modified icon.
At this time, clear the computer cache and restart the computer.
1.2 There is no project file packaging method
1.2.1 Run tool factory
1.2.2 Create Project
Select Create a new project and select Show Project Wizard, click OK to enter the wizard,
This name is also the name of the default installation directory of the installation package.
1.2.3 Set the packaging directory
Click Next, another wizard page appears
There is no relevant file of our latest program, you can go to our release directory or website to download the latest program and install it. Then click Browse to move this
The directory where the packaged file is located is set to the directory where the program is installed, such as C:\Program Files\CMS.
1.2.4 Choose packaging style
Click Next to enter the interface setting wizard page of the installation package
Here you can set the interface during the installation process, generally we choose the default. Click Next again to set the style
Please choose a style you like.
1.2.5 Select packaging language
Click Next, select language
Select the language supported by the installer. The following one is the language displayed by default.
There is no choice in the next step. Next, use the default settings
Click Finish. The packaging tool will load the files that need to be packaged.
These 5 items.
1.2.6 Double-click the CMS.exe item
The following interface appears
In Location, it is to set the location where the shortcut appears. Select DeskTop and StartMenu>AppFold to display the shortcut on the desktop and start menu programs.
Shortcut. The default shortcut name is the project name previously set.
If you want to modify the shortcut name, you can set it to another name in the Description on the above page. But the name in the installation directory will not change, if you want
To change the name of the program in the installation directory to another name, you should change the CMS.exe in the installation directory to another name in advance before importing the file.
Weigh it and make corresponding changes.
The ICON option here is to select the shortcut icon, the default is our own icon, if you choose Custom, you can customize the program icon.
But this icon must be selected and packaged into the program in advance. Here you can select an ICO format file that has been loaded into the packaging program as the program
Shortcut icon, select OK.
1.2.7 Set registration control
Then double-click mapctrl.ocx, WndManager.ocx and other OCX controls
Select Advanced and check the two items in OLE/ActiveX. Here is to register these OCX controls in the user’s computer after the installation is complete. Pay special attention here
Don’t forget it! After setting them separately, return to the main interface.
1.2.8 Enter Before Installing
Double-click the second item Before Installing in Screens on the left side of the main interface (here is the interface displayed during the detailed setup and installation process),
After entering, select the second item, here is to set up the license agreement, currently our program is not available, you need to delete it, click Remove -> OK.
1.2.9 Enter On Pre Install
Registry.SetValue(HKEY_LOCAL_MACHINE, “SOFTWARE\\Software\\NETCMS”, “FirstTimeRun”, 0, REG_DWORD);
These commands. It is used to write the registry to determine whether the program is installed, and whether the program is run for the first time, because our program will pop up the first time it runs
If you don’t need the language selection dialog box, you don’t need to set it here. Click OK. .
1.2.10 Double-click build
After the above settings are completed, you can package, click on publish in
The publish wizard dialog box will appear. Click next
The above item is to set the path generated after the installation package is packaged. The next item is to set the name of the installation package.
1.3 There are engineering file packaging methods
1.3.1 Copy directory
If the customer has our project files, steps 1-9 can be omitted. It can be packaged directly by copying the entire installation directory and putting it in
The project files in the same directory, and then modify the pictures inside. Then rename this folder (the default is CMS) to General, and then double-click the project file (
The prerequisite is to install SetupFactory8.0) After entering the main interface, select Build in publish to package directly.
1.3.2 Modify shortcut
If the user wants to modify the shortcut, he can refer to the setting of item 6 above. If the user wants to change the project name, which is the program displayed during the installation process
The program name and the default folder name of the installation directory. You can select the first item in Settings under the main interface.
Item to be modified.
1.3.3 Set background image
By default, our general CMS does not have “no video background image”. If the customer needs it, you can make a picture in bmp format (the size should not exceed 600k)
Name it video.bmp and add it to the project. Here are the following settings:
Add the video.bmp just added to the skin folder into the project. Click add.
Then double-click video.bmp on the main interface to display the property setting dialog box, and set the Destination item to the path shown in the figure above.
The Local item here is best set to a relative directory. For example, the project file and the folder to be packaged are in the same directory. here
D:\SVN\GENERAL_SNS_20091221\CMS packaging\General\20121115_Decoder\General\Skin should be set to .\General\Skin
If there is no project file provided by us, or a file was added later. It is best to set the Local option of the attributes of these files to the form of a relative directory.
In this way, the same project file is placed on another computer, as long as the folder to be packaged is also in the same directory, it can be packaged. But play this
For these settings, you need to save the project and reopen it to take effect. (It may be a bug in the program)
1.3.4 Picture modification
If the customer needs to modify the interface style. If the position of the button or other controls has not changed, you can directly modify our picture (the same size,
element. The relative position of the control remains unchanged), and then repack it. . If you need to change the position of the button. You need to modify the corresponding configuration file
255, 255, 255 is the color RGB value