Skip to content

Commit ed77ebc

Browse files
committed
Fix the missing icon and include folder customization
1 parent 40f3205 commit ed77ebc

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[.Shellclassinfo]
2+
Iconfile=Ducky.ico
3+
Iconindex= 0
1.12 KB
Binary file not shown.

Rubberduck.Deployment/InnoSetup/Installer Build Script.iss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,19 @@ Name: "English"; MessagesFile: "compiler:Default.isl"
8181
Name: "French"; MessagesFile: "compiler:Languages\French.isl"
8282
Name: "German"; MessagesFile: "compiler:Languages\German.isl"
8383

84+
[Dirs]
85+
; Make folder "readonly" to support icons (it does not actually make folder readonly. A weird Windows quirk)
86+
Name: {app}; Attribs: readonly
87+
8488
[Files]
8589
; Install the correct bitness binaries.
8690
Source: "{#BuildDir}*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs replacesameversion; Excludes: "Rubberduck.Deployment.*,Rubberduck.dll.xml,Rubberduck.x32.tlb.xml,{#AddinDLL},\NativeBinaries"; Check: CheckShouldInstallFiles
8791
Source: "{#BuildDir}{#AddinDLL}"; DestDir: "{app}"; Flags: ignoreversion replacesameversion; Check: CheckShouldInstallFiles;
8892

93+
; Used for customizing the folder appearance
94+
Source: "desktop.ini"; DestDir: "{app}"; Attribs: hidden system; Flags: ignoreversion replacesameversion; Check: CheckShouldInstallFiles;
95+
Source: "ducky.ico"; DestDir: "{app}"; Attribs: hidden system; Flags: ignoreversion replacesameversion; Check: CheckShouldInstallFiles;
96+
8997
; Included only if installed for all users to enable self-registration for other users on machine
9098
Source: "{#IncludesDir}Rubberduck.RegisterAddIn.bat"; DestDir: "{app}"; Flags: ignoreversion replacesameversion; Check: InstallAllUsers;
9199
Source: "{#IncludesDir}Rubberduck.RegisterAddIn.reg"; DestDir: "{app}"; Flags: ignoreversion replacesameversion; Check: InstallAllUsers;

0 commit comments

Comments
 (0)