FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Advanced Setup Creator (https://fileforums.com/showthread.php?t=96520)

gozarck 28-12-2015 09:45

thnks Razor12911, i resolve the problem.
This is the png file.
http://i1215.photobucket.com/albums/...orums/icon.png
The file on line converted fail to compilling in ASC. So i decide to use "Greenfish Icon Editor Pro"
http://i1215.photobucket.com/albums/...leForums/1.png
http://i1215.photobucket.com/albums/...leForums/2.png
when i made the convertion with "Greenfish Icon Editor Pro" with default settings the compilling fail again. Maybe nt.dll not support 16 and 256 colors.
http://i1215.photobucket.com/albums/...leForums/6.png
So i decide to use 32-bit only
http://i1215.photobucket.com/albums/...leForums/3.png
and Works
http://i1215.photobucket.com/albums/...leForums/4.png
http://i1215.photobucket.com/albums/...leForums/5.png

Razor12911 28-12-2015 10:18

that is weird. Pes2016 game icon does have 16 colour, 256 colour png images in it. I extracted 1 32 bit image just to discard the 16, 256 colour then error because there was only one png in the ico file even if it was 32 bit image.

gozarck 28-12-2015 11:03

1 Attachment(s)
yes is weird i dont know why.Also my system language is spanish and the error is in english, i suspect the error is from ASC. but in 32-bit icons i dont have any trouble.

ChronoCross 28-12-2015 16:05

Nice now asc build without errors.

Razor12911 28-12-2015 19:38

ok, I'll try using another function to update icons, thanks guys.

truerepacks 02-01-2016 02:42

a simple one

Razor12911 03-01-2016 07:23

1 Attachment(s)
Here is a sample of how to use animation commands in ASC, this one is very difficult, math is applied here.

RamiroCruzo 05-01-2016 09:06

Me encountered the same nt.dll error...I was using 32-bit Icon with 6 layers...I tried even using 16-bit one...But all gave the same error...Then I removed all layers except one & it compiled...I think ASC only compiles Icons with single layer...

Lucas65 06-01-2016 04:39

Hello razor. I'm sorry but I have to ask for help. I just can not figure out how to start the custom installation (type install components redist). In the "perform" checkbox what should I write because it connect with the custom installation? I thank you in advance and again my compliments.

truerepacks 08-01-2016 02:43

2 Attachment(s)
a simple template

Razor12911 08-01-2016 03:46

^^Very nice, I'll try to get this compatible with 0.0.6.

@Lucas65
Under custom installation, add whatever needs to be done, after that, use the row number to determine the number you should use under perform, those are just for things like showing web link when someone clicks button or something related like restarting PC and etc.

RamiroCruzo 08-01-2016 21:41

Hey amigos...Me made this ASC Template to win the race against @TrueRepacks.... :D:D Hows it???

http://s22.postimg.org/l9051gupd/Screenshot_142.png

http://s22.postimg.org/yek8lbdyp/Screenshot_143.png

LAN v1.0.zip - 6.1 MB

RamiroCruzo 09-01-2016 00:10

1 Attachment(s)
Heres the advanced version of it with Disk Space Check & Time Functions....

Lucas65 09-01-2016 05:35

@Lucas65
Under custom installation, add whatever needs to be done, after that, use the row number to determine the number you should use under perform, those are just for things like showing web link when someone clicks button or something related like restarting PC and etc.[/QUOTE]


Thanks, now I understand. The "perform" is only for the user clicks while, for example redist, goes in the section "installer". I could not because the conditions there is also the square brackets (example {[Redist1=True]}) but now I understand. Thanks again Razor.

Razor12911 16-01-2016 15:06

Update available

Changes

-Further optimisation
-Fixed startup bugs.
-Added move up and down under installation configuration to adjust when task should take place properly.
-Fixed constants
-Fixed video item
-Added slideshow feature (Quite buggy, still have to work on it)
-Fixed sync states bug partially (More needs to be done)
-Designed form can be bigger than bound form making the mouse cursor movement come into play to adjust content inside the bound form.
-Added ShiftX and ShiftY if actual form is larger than bound form.
-Added form scale adjuster incase if the installer is smaller or bigger, then just adjust the size with ease.
-Fixed video display size, now video fits according how you placed it on the designer except if the codec used is H.264 then it just fits instead of fill.
-Fixed memo and edit item readonly bug.
-Updated statusmessage feature for memo item, auto scroller added to show current status.
-Adjusted Enabled and Visible properties to make use of conditions.
-Updated effects
-Fixed perform bug.
-Fixed dialog bug if dialog is already open, main can still be used.
-Fixed music and video bug startup error/bug if no sound card or if media file is not supported.
-Updated animations, previous version projects may not work if compiling due to this update, to fix this, use v0.0.5, remove animation commands and read them in 0.0.6.
-Removed state change and page change animations, (will be readded at later stage, for now they slow down installation).
-Added button sounds.
-Added splash screen.
-Constants and variables updated to reduce cpu usage (New custom method used and can be buggy at the same time).
-Human errors ignore feature added, in case when using the math expression feature or animations, people tend to end up with division by zero errors, logarithmic errors or anything related to math calculations that is invalid.
-Added shell execution feature, bat files can be executed.
-Added registry feature.
-Added kill task, restart task, suspend task and etc features (Task Manager features)
-Added progress detection if running a decompressor or any other application, if size is given and show window is false, the installer will detect how much data the running application has written on disk then compare it to the given size then progress can be calculated. (Tested with BCM compressor and 99.9% accuracy achieved)
-Added file association to program feature.
-Added installer simulation (Case if you want to see how the progressbar moves when installing in under 10 seconds).
-Updated system check bugs, things like installed ram size are correctly detected.
-Fixed fullscreen bug.
-Fixed video background bug (Partially, form cannot be dragged on some regions).
-Added save, load or compile bug fix incase if antivirus interferes, retry feature added, up to 10 times. This reduces the chances of losing your work if error shows up.
-Added icon bug fix. (Partially, haven’t found a proper fix).
-ASC main program now runs without admin rights.
-program association added for asc extension files.
-Don't remember what else...

Razor12911 17-01-2016 10:49

Oh, forfot to mention, for now stay away from registry and file association, the features are not buggy but if you don't use them properly, they'll have a tendency of deleting all reg keys, that happened to me 2 days ago, luckily I was prepared. If you are worried of setup deleting files on hard drive well, the uninstaller only removes the files it installed, nothing more, nothing less. So it is safe to set installation directory as D:\, only the files it installed will be removed. That's will be all. No other warnings...

ChrisC20 17-01-2016 23:44

Hi.
Thanx for the update, will try it later. Just one question: if I add a task for the files to extract, which is just one .bin file, and then after I add a task to make a desktop shortcut. But when I run the installation it only extracts the files and skips the desktop shortcut creation. What am I missing?

Razor12911 18-01-2016 05:56

That's a bit odd. The program's installation didn't have this problem.
Example how to make shortcut:
Shortcut should be: <UserDesktop>\My program
Target should be: <InstallDir>\bin\myprog.exe
The other properties like description, icons are just additional properties which can be left blank.

ChrisC20 19-01-2016 09:27

another question, if a user picks an Install directory, can I make the parent folder of all the files (eg. appname) constant without the user having to input the appname manually? Eg. default <installdir> is "<ProgramFiles>/<AppName>". But if I browse to another location or path, it just extracts the files into the root of that path... I want it still to automatically add the AppName. If that makes sence...

<Edit> how do I make the setup to extract more than one .bin file? Do I need to make a task for every .bin file?

Razor12911 19-01-2016 12:02

Ok, I'll add that for 0.0.7.

coveiro 19-01-2016 12:33

Hi Razor12911, This Variables <VideoName> is showing <ProcessorName>.


She is showing the processor name and not of video card.

http://i.imgur.com/pbAreid.png

ChrisC20 19-01-2016 12:49

I would suggest adding an install directory prefix that can be changed, and an install directory suffix that stays constant/static.

ChrisC20 19-01-2016 20:27

What I liked about the previous version, was the option to disable/enable a button. With the latest version, I change the button "enable" to 0 for false. But the button can still be pressed. Am I missing something?

Razor12911 20-01-2016 03:03

Well, I realized what's the point of disabling an item if there isn't anything that will enable it at some point, conditions are the ones that are controlling the property. If you want the item to be totally disabled, make a scenario which can never be possible,
Example {Math=4>7;}, we all know that 4 can never be greater than 7 so the item will forever be disabled.
But if you have something like {Math=<ProcessorCores> > 2;}, then the item will only be enabled if processor has more than 2 cores therefore there will be times when the item will be enabled.

ChrisC20 20-01-2016 06:19

okay thanx. I just really liked to have the "Finish" button grayed out while the extraction is in progress. You know, Like an InstallShield setup. haha. But what I'll do is make a shape with transparency overlaying the button.

Razor12911 20-01-2016 08:52

Quote:

Originally Posted by coveiro (Post 446276)
Hi Razor12911, This Variables <VideoName> is showing <ProcessorName>.


She is showing the processor name and not of video card.

http://i.imgur.com/pbAreid.png

I'll look through it.

Razor12911 20-01-2016 08:57

2 Attachment(s)
Those who would like to see or play around with an older source of ASC, there you go. ;)
Use Delphi XE7 or XE8 to compile.

Edit:
Just added an animation file, just check it out, maybe it might spark a couple of you to start using animations, they are awesome.

Lucas65 23-01-2016 10:33

Hello Razor. I experienced an issue using asc v6. Using a project created by me everything seems to work but when I want to uninstall the product the setup changes all associations of computer files making the system unusable. I must therefore restore the PC. For if I am that something wrong or is there something that can be had.. I thank you in advance and I hope for your help since the program I really like and I enjoy using it.

EDIT:
Ok, I solved alone. I'm sorry for the trouble but I did not realize that I had a associations task empty and eliminating it has solved the problem.
Hi Razor!

Luck 25-01-2016 07:23

First. Thank you for Razor great tool, I am in doubt as a .bat run this program I set the Run more does not work, the .bat opens more does not extract, I tested in inno standard setup works. I need to add something in the ASC?

Razor12911 25-01-2016 07:37

Quote:

Originally Posted by Lucas65 (Post 446365)
Hello Razor. I experienced an issue using asc v6. Using a project created by me everything seems to work but when I want to uninstall the product the setup changes all associations of computer files making the system unusable. I must therefore restore the PC. For if I am that something wrong or is there something that can be had.. I thank you in advance and I hope for your help since the program I really like and I enjoy using it.

EDIT:
Ok, I solved alone. I'm sorry for the trouble but I did not realize that I had a associations task empty and eliminating it has solved the problem.
Hi Razor!

http://fileforums.com/showpost.php?p...&postcount=176

@Luck, you're not the only one who has said bats don't work, I'll have to look into the feature.

Razor12911 26-01-2016 17:11

Update available

Changes

Slideshow fixed
Updated select directory
+1 New Sample +1 Fixed Sample

Known issues

Anything related to registry must be used else it will damage operating system by deleting everything from registry.


What to expect in the next update:
Increase item quota
Registry fix

Lucas65 31-01-2016 05:24

Hi razor. I tried adding the external compressors in the tab "setup resources" but I have problems. For example if I use xz or LZ77, Precomp 0.45 or 0.44 or nanozip the extraction does not start showing a page of dialogue made by me and then closing the installation. Obviously in resource add .exe and cls file necessary and arc.ini right but until now works only the classic precomp(0.38-0.43)+msc+srep+lzma.

This is normal because these extraction methods must be internal to the program "asc"?

Razor12911 31-01-2016 05:37

did you include 7z.dll by any chance?

Luck 31-01-2016 05:58

I read the manual, and I am unable to mount a redisit can tell me a step by step please.
Thank you in already

Razor12911 31-01-2016 06:58

first, add exe to run under configuration, secondly, go to user interface add checkbox, give the checkbox a name, eg: MyRedist then go back to configuration, edit the exe row you added, under condition, use the condition format to make the redist install only if checkbox is checked like this {MyRedist=True}, all done.

Lucas65 31-01-2016 07:47

Quote:

Originally Posted by Razor12911 (Post 446670)
did you include 7z.dll by any chance?

No. I have not included the 7z.dll

With precomp+msc+srep+lzma it was not there and everything went smoothly.

Luck 31-01-2016 07:52

Quote:

first, add exe to run under configuration, secondly, go to user interface add checkbox, give the checkbox a name, eg: MyRedist then go back to configuration, edit the exe row you added, under condition, use the condition format to make the redist install only if checkbox is checked like this {MyRedist=True}, all done.


Thank razor unanswered. Forgot to speak, the other steps here all right as you spoke, add exe to run under this configuration I do not know the code I use to work.

so ask, step by step to compare the error is in the first step only which code to use there always used the other program the IC. is my first time at ASC

sorry my english .....

edward99 01-02-2016 02:42

shivshubh bro can you please give me your upgraded WPI script

TheRePacker 01-02-2016 03:08

Quote:

Originally Posted by edward99 (Post 446704)
shivshubh bro can you please give me your upgraded WPI script

How can he will give, bro do your work yourself! Try to archive and learn how to do so!

Razor12911 01-02-2016 14:22

2 Attachment(s)
Quote:

Originally Posted by Luck (Post 446674)
Thank razor unanswered. Forgot to speak, the other steps here all right as you spoke, add exe to run under this configuration I do not know the code I use to work.

so ask, step by step to compare the error is in the first step only which code to use there always used the other program the IC. is my first time at ASC

sorry my english .....

Like that.


All times are GMT -7. The time now is 07:40.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com