![]() |
Ok guys I tested the code to give a folder icon to the installer.
The code and this attached to that of yenner90 section put a personal icon file in the folder include call Desktop.ico ;********************name icon file********************************; [Files] Source: Include\Desktop.ico; DestDir: {app}; Flags: ignoreversion; Attribs: hidden system ;************************************************* *************; code section find CurStepChanged try and replace it with this add the red section ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// procedure CurStepChanged(CurStep: TSetupStep); var n,i:integer; ErrorCode: Integer; begin if CurStep = ssPostInstall then begin SetIniString('.ShellClassInfo', 'IconResource', ExpandConstant('{app}\Desktop.ico') + #13#10 'IconIndex=0', ExpandConstant('{app}\desktop.ini')); Exec('attrib', ' +r ' + '"' + ExpandConstant('{app}') + '"', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode); Exec('attrib', ' +h +s ' + '"' + ExpandConstant('{app}\desktop.ini') + '"', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode); end; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Find CurUninstallStepChanged try and add first end; highlighted in red end; end; procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Final code Uninstall.dat try and add the red section ExpandConstant('{tmp}\Uninstall.dat'))), True, True, True); DeleteFile(ExpandConstant('{app}\desktop.ini')); end; end; end; end; end; |
In Pascal, an apostrophe character inside a string literal needs to be doubled:
Code:
#define AppName "Clive Barker''s Jericho" |
anyone can tell me how to fix an srep error.
Code:
broken compressed data. |
Quote:
|
bottom, line, never use special characters :D
|
I'm not the one who is using it's the game's developers. ^^
|
rather leave it like this #define AppName "Clive Barkers Jericho"
|
Quote:
|
Quote:
|
comparison between the level of compression Inno Setup and use of the razor, the compress.bat file which will compress better. I need an answer on this issue. If you can help me do this right. Thank!
|
depends on the compression but .bat compression is the best
|
but the use of such compress.bat no clear delineation of space between 4.3 GB DVD. How to properly define the size of each DVD? The use of arc free to use the Inno Setup command with a higher compression than compress.bat not?
|
hi i need help
how to do this :confused: Code:
#define AppName "1" |
Quote:
Code:
#define AppName "1" |
thanks for help altef_4
|
Quote:
|
How can I do to set my Installer can Run as Administrator?
|
start up inno then goto help & search for administrator.
[Setup]: PrivilegesRequired |
Hi, Guys . How Can I Create a silently Installer with inno setup that Include Two or Three or More disk?
I Create Installer, But when disk one is finished, silently Installer not asked for disk two and Progress bar roll Back and install canceled . what can i do? Sorry For my bad english |
I get this error
http://img255.imageshack.us/img255/2772/errv.png I use this code: Code:
arc a -ep1 -ed -r -w.\ Data-01.bin -mprecomp:zl98:d0+srep+exe+delta+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\game\*" |
arc.ini
|
Here is the Arc.ini
Code:
[External compressor:srep] |
Can anyone help me.
I need a code to activate and deactivate a label 5 times with an interval of time. |
Alright, I have a simple question:
Is it possible to make a custom installer using ONLY the game disc/s - IE: making an installer without installing the game first? It would help for annoying DRM and poor internet connection. Also, When using the custom installer - is there an easier way to align your buttons? At the moment I am editing the setup.ini, running setup to see where the buttons are, and repeating this process until I eventually get them right. Is there some way i can make it easier? Thanks for your help. |
Quote:
open your image with photshop (ie. autorun.png) right click over the ruler and choose pixels. use the guide lines to obtain the coordinates were you want the buttons appears. Its not 100% accurate sometimes you have to rest 4 or 5 pixels. (ie.: if on photoshop show that your button will appears at left=80 and top=160 on setup.ini you must put left=80 top=155) I hope this help you. |
Thanks,
That's Awesome! |
Quote:
in IS enhanced edition, use ttimer function in normal inno setup use settimer and killtimer using innocallback.dll |
how to give the installer an icon or the same icon used for setup.exe in Add/Remove programs window?
|
in inno script [setup] section
UninstallDisplayIcon=setup.ico all in the help section, just open up your script, and click on help. all documentated there :) |
How do i dynamically make the installer asks for the next cab if it was missing on the disc without specifying which .cab is one the next disc?
|
1 Attachment(s)
Hello Friends.
How can i change (size and place) the button of the message box? Attachment 6091 Thanks in advance. |
Quote:
Need to example ButtonClick >> LabelHide(Time ms) >> LabelShow(Time ms) >> LabelHide(Time ms) >> LabelShow(Time ms) .... What is the difference between versions of Inno Setup (ANSI, Unicode, Ansi Enhanced Edition and Unicode Enhanced Editio)? If the Enhanced edition version is more complete because we use another version. |
Quote:
|
how uniform the installer icon. When I change the commands in CI's project Inno yener90 it retains the old icon. Is there any way to change this icon in my icon!
|
In case no body saw my reply:
How do i dynamically make the installer asks for the next cab if it was missing on the disc without specifying which .cab is one the next disc? |
Hello.
How can i change the value [mb] to gb? Code:
DiskSpaceMBLabel=At least [mb] MB of free disk space is required. |
I would like to know that as well, but if the size is under 999 MB i think it should show up as MB not 0.x GB
|
Quote:
|
CIU why when I use it to not show up the setup menu interface. Although I was rather png and bmp. You can help me!
|
Quote:
|
| All times are GMT -7. The time now is 07:38. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com