Changing default directory icon
I am using Wise Installation v9 Professional. The package I am creating is very very simple however there is one step I am struggling to overcome. Basically I am copying two files to the local hard drive and then creating shortcuts on the desktop to these files. The problem is that I am placing the shortcuts in a folder on the desktop. My client wants a different icon for the FOLDER than the default one. How do I change this icon? I can change the icons of the files no problem - but cannot change the design of the folder. It is possible to change the design of the folder manually through the OS but there doesn't appear to be this option in Wise.
I am using Windows XP Professional
Many thanks for your help.
Le Gran Fromage
I am using Windows XP Professional
Many thanks for your help.
Le Gran Fromage
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
WiseUser
19 years ago
Posted by:
WiseUser
19 years ago
For "completeness" (not sure that's a word), I thought I'd show an example of the contents of the desktop.ini file.
[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=15
Technically, an "ini" file should be modified using the "IniFile" table, but in this particular case it may be easier to use the "File" table because you can use the "Attributes" column to add the "msidbFileAttributesSystem" and "msidbFileAttributesHidden" attributes that the file requires. Obviously, this can easily be done using a custom action too.
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=15
Technically, an "ini" file should be modified using the "IniFile" table, but in this particular case it may be easier to use the "File" table because you can use the "Attributes" column to add the "msidbFileAttributesSystem" and "msidbFileAttributesHidden" attributes that the file requires. Obviously, this can easily be done using a custom action too.
Posted by:
TheBigCheese
19 years ago
First of all - many thanks for this information. I have done the following steps:
I have selected a new ini file named desktop.ini and located in the folder on the desktop where the shortcuts reside. I have set the file attributes to system and hidden.
When I run the installation the files are copied, the shortcuts are created in the folder and the desktop.ini exists. However, the design of the folder still remains as the default. It is as though the ini is somehow not associated.
Thanks again for your help with this
I have selected a new ini file named desktop.ini and located in the folder on the desktop where the shortcuts reside. I have set the file attributes to system and hidden.
When I run the installation the files are copied, the shortcuts are created in the folder and the desktop.ini exists. However, the design of the folder still remains as the default. It is as though the ini is somehow not associated.
Thanks again for your help with this
Posted by:
WiseUser
19 years ago
Posted by:
bishy
17 years ago
Well, I know you asked this question nearly 2 years ago. but just in case you never found out why the stupid folder didnt do what it was told from desktop.ini the reason is you need do this to the folder aswell "Attrib +s <FolderName>" that makes it system, you was close 'wiseuser' with readonly :p
Hope thats not too late :(
Hope thats not too late :(
Posted by:
usachrisk
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.