Replace a Resource

<< Click to Display Table of Contents >>

RayPack > 7.3 u6 > User Guide > PackDesigner > MSI / MST / RPP Based Projects > Visual Designer Mode > Setup Organization > Resources 

Replace a Resource

Replacing a resource means to change the source file used as packaging project resource.

 

Users can trigger the replacement procedure either

by right-clicking a resource object within the list of project resource objects and selecting Replace from the context menu,
or

by selecting the object within the list of project resource objects and using the ... button within the details pane on the right hand side of the Resources view.

 

The actual replacement procedure depends on the resource type:

Replacing an Icon Resource File

1.Once the replacement is initiated, RayPack displays the Import / Replace Icons Dialog for the selection of the file that should be imported into the resource.

 

2.Users should BROWSE for the desired icon source file from the local system.

 

papercliper

Note:

Icon resources can be imported from .ico, .exe or .dll files. All other file types are handled as standard binary resources and can therefore not be imported into an icon resource. If such a change is required, users have to remove the original icon resource and create a new binary resource instead.

 

3.Once the source file is selected, RayPack analyzes its content and automatically determines the name, size, last update time, and visual preview for the new icon resource.
 
These properties will be replaced along with the source file. They cannot be changed manually inside the wizard. Please refer to Edit a resource for further details on how to change resource properties.

 

4.If the selected source is not an .ico file, RayPack is able to read all icons that are bundled within the source. The icon preview interface allows navigation through all icons which were read. The arrow buttons below the icon preview allow the user to move forward and backward through the icons. The index value of the currently displayed icon is shown in order to enable users to separate icons which are visually similar, but are not the same icon object inside the source file.

 

papercliper

Note:

Please note that the icon index values start at 0 for the first icon found inside a source file, not at 1!

 

5.If the import the current icon only checkbox is not activated and there is more than one icon given within the source file, RayPack imports them all with one step.
If the import the current icon only checkbox is activated, RayPack automatically reduces the source file to the icon index that is currently displayed within the icon preview interface.
 
The import of the current icon only setting used during the initial icon resource creation is not saved permanently. Therefore, the decision has to be made anew for each replacement execution.
 

6.Click OK to import the new source file or Cancel to close the dialog without changing the original icon resource object.

 

7.RayPack automatically updates the file name, size, and last update time property of the resource object to the according values from the new source file.
The name of the resource remains unchanged.

Replacing a Binary Resource File

1.Once the replacement is initiated, RayPack displays a System Browser for the selection of the file that should be imported into the resource.

 

2.Users should pick the desired file from the local system and click Open to start the import process.

 

3.RayPack automatically updates the file name, size, and last update time property of the resource object to the according values from the new source file.
The name of the resource remains unchanged.