![]() |
multi is kinda tricky? do you want it to be like the one in Installer Creator or different?
|
something how IC, yup :D
|
then it's easy. there are many ways of doing it.
1) Create 3 autorun.exe's.(Very Simple/Worst Idea) 2) Create one autorun.exe with 3 launchers(Moderate) 3) Create one exe with the ability of three exe's. (Not a walk in a park) |
erm,., the 2 is my idea.. but.. how to do? :P. this is the question
|
make three buttons.
the buttons must not be enabled if exe is not found and if installation is not found else if exe is found and installation is found then enable the buttons. make the buttons onclicks to run exe from installation directory. Done. |
Help I am not able to use my installer to unpack files created with precomp043 + srep64 trying without success to two days someone could post a scrip isdone the sample thanks
|
Hello,
Is it possible to extract a specific folder and/or file inside an arc archive using ISDone? I have an archive that has many folders and i just want to unpack one of them. Why i didn't create an archive for each folder? Because i'm using delta compression to reduce the size for similar files in each folder. Thanks. |
hmm, don't think it's possible to extract a certain file/folder using isdone, you could read the documentation. but check the latest isarcextract script, version 4.2 and later.
|
Quote:
hooking up precmp043 may be tough but the srep64 is not a problem, it's the same as the normal srep edition, just tweak the arc.ini a bit. |
Quote:
Where do i grab the latest version of the script? |
Quote:
Code:
function ISArcExtract (CurComponent: Cardinal; PctOfTotal: double; InputFile, OutputPath, ExtractedPath: string; DeleteInFile: boolean; Password, CfgFile, WorkPath: string; ExtractPCF:boolean):boolean; |
altef_4, do you know if it's possible to extract a specific file/folder?
|
Quote:
example how to use: ISArcExtract(0,0,ExpandConstant('{src}\Data.arc'), ExpandConstant('{app}'),'Some_Path_In_Your_Archive',False,'PASSWoRd',ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{app}'),False); |
Oh, i thought it's the destination, i will try it now :)
|
Thanks altef_4, it's working but it's unpacking the whole thing instead of just one folder although it's not actually unpacked in the destination folder.
|
I have a little problem .. dont know if is the right place to expose my doubt, but .. It is going beyond the mask installer. In photoshop everything is perfect, no fault .. in the script, all the measures are well placed, everything looks in order, except for one thing .. stand out as ridges on the edges that should not be there .. someone can say that this is due?
Here is a picture: http://i62.tinypic.com/99gcwn.png |
2 Attachment(s)
Quote:
CreateFormFromImage(YourNewForm.Handle,ExpandConst ant('{tmp}\your_frame.png')); and move this form when main form is moved. i create simple example for this, in archive are all nessesary files + two versions: one for Original IS UNICODE and one for Enhanced UPD: changed mask +added screenshot |
Quote:
p.s. you can extract only some folder, not a file (my mistake :)). |
Thanks,, it works,, but i think i dont know how to make the mask well.. can you explain me in little words altef? i'm not new to photoshop, but making mask yup :D..
Edit 1. i start the script by zero, and put your example in the fist place with my background and mask.. it work... but with the same edges bug.. its my mask, i know :d.. i dont know how to make it well.. When i make mask before for other works, i only set the visible space in black and the rest in white... here dont work that :D. |
First try to make the archive a little bit big so you can see the actual process.
create 2 folders that contains multiple big files for example program1 program2 and program3 folders. Now let's say we want to extract program 2. You will notice that the installer displaying program1 folder and it's content and program 2 and 3 but it only extract program2 actually. Extracting the whole archive takes as much as time to extract one folder. It's like unpacking the whole archive on the fly but not letting the unwanted files to be copied to the destination folder. Hope i clarified what i meant. :) |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Thanks, razor and altef, work perfectly now,, the problem was the sizes.
Was extrange,, i'm graphic designer and this never happend to me in my work. :P.. I thought the mask in inno were being made differently. I'm trying to make a general installer for all my conversions, and i think I have already achieved. Minimalist and yet easy to locate. |
i have a problem... before i setting the example of the mask of Altef, all work perfectly when unninstall.. Now, inno give me an error "cannot call "EXTRACTEMPORALYFILESIZE", funtion during uninstall. I never touch nothing in the unninstall section,, only add the mask functions and procedures..
|
Quote:
|
i understand you altef :D thwe problem is i think i have all in unninstall correctly, but dont work.. this is my uninnstall:
Quote:
Quote:
|
Quote:
Code:
function ImgLoadU(Wnd :HWND; FileName :PAnsiChar; Left, Top, Width, Height :integer; Stretch, IsBkg :boolean) :Longint; external 'ImgLoad@{tmp}\botva2.dll stdcall delayload';and remove b2p.dll(it's not work in uninstaller), correct this Code:
FileCopy(ExpandConstant('{app}\CallbackCtrl.dll'), ExpandConstant('{tmp}\CallbackCtrl.dll'), True);add to DeInitializeUninstall - gdipShutdownU; try it, it's must work. |
Thanks man, work perfectly now :D.. sorry for my questions, when i think the code is finish i discover something new...
|
One silly question.. why the image load before the rest of the things?. i mean.. the main background load.., the rest of the component load AFTER, and during two seconds the main screen is empty..
and.. how can i add a custom progress bar and a custom edit? i dont want to usee isskin.. thanks |
Quote:
Quote:
|
altef i only have one ImgApplyChanges for wizardform,, only this at the start of "procedure InitializeWizard":
Quote:
|
Quote:
Quote:
e.g. standart progress=10% of maximum 100% then width of your img will be progress:=CurProgress(10%)*100/MaxProgress(100%); imgWidth=FullWidthOfImg(you set it when create img)*progress/100; |
Altef, see m.p please.. i'm lost with that :D..
|
why inno sometimes shows need to restart page in the end of installation? although I've already put all the right parameters :(
is there any way to suppress no restart page at all cost? |
hmm reiji Page finally pressing need.
|
Hallo everyone..
sorry i'm newbie. and i come from indonesia i want to try conversion.. can you give me script (InstallerScript.iss and LangScript.iss) language indonesian please.. thx bahasa sorry my bad english.. |
2 Attachment(s)
PS: Text translated with Google Translate.
Please. I need help. In need of a code that satisfied the following properties of an executable: Copyright, Company Name, File Description, File Version, Product Version, InternalName, Original Filename, Product Name. I found a code on the internet and is not working with Unicode Inno Setup. Tested Inno Setup Version Ansi worked. In unicode inno he cuts the information. I have attached the script's code for those with more experience can analyze and give me some corrections. Added one second scrip to compare the differences. This second script detects only the description of the executable. However this works in unicode version of Inno Setup. |
| All times are GMT -7. The time now is 06:37. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com