Log in

View Full Version : installer for upcoming versions


Pages : [1] 2 3

len0x
7th April 2003, 15:51
theWEF uploaded installer scripts onto SF.
So can somebody have a look how to build them (I remember someone wanted to do that already) and check what we need for new coming versions.

From what I think right now:
1) GK itself
2) remove AVS2.0x, add AVS 2.5
3) remove Vdub, add Vdummod
4) update filters for avs 2.5
5) update besweet + azid
6) update codecs (I believe user still have to have a choice between
5.0.2 and 5.0.3/4)

anything else ?

Doom9
7th April 2003, 18:07
actually, I think you can drop the azid and lame distributions and just use the besweet distro (that also requires that you remove some checks that were in 0.27 unless you've already done that). And also replace the old AC3Filter with the most recent one.

len0x
7th April 2003, 18:17
checks are still there I guess... will remove them...

irasnyd
7th April 2003, 19:35
Alright. I'll start putting these things in as soon as I get done with class today. (1300 PST).

irasnyd@athlonoc.com

irasnyd
7th April 2003, 23:09
I have a few questions...

About AviSynth 2.5: Should I use 2.5.0 or 2.5.1? Do you want me to put in any plugins (such as FluxSmooth, Conv3d, etc)?

What do these do, and can I leave them unchanged for AVS 2.5?
WriteRegStr HKCR "avifile\Extensions\AVS" "" "{E6D6B700-124D-11D4-86F3-DB80AFD98778}"
WriteRegStr HKCR "Media Type\Extensions\.avs" "Source Filter" "{D3588AB0-0781-11CE-B03A-0020AF0BA770}"
WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" "" "Avisynth"
WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" "" "avisynth.dll"
WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" "ThreadingModel" "Apartment"

Where should these filters that come with .28 go within the file tree?
Ex: Where should decomb.dll go, etc.

Also, will 0.28 work with Divx 5.02, or only with 5.03/5.04? (should I include one of these, or leave them out?)

Thanks,
irasnyd@athlonoc.com

TheWEF
7th April 2003, 23:25
Originally posted by len0x
checks are still there I guess... will remove them...

i think lame is still used if the audio source is wav or something. since this doesn't happen very often i've always been to lazy to remove that...

TheWEF
7th April 2003, 23:29
Originally posted by irasnyd
I have a few questions...

someone from the avisynth team has to have a look at that. please pm sh0dan (or neuron2?).

wef.

irasnyd
8th April 2003, 01:53
I decided to just go with AVS 2.5.1 and leave the registry stuff as it was.

It seemed to work okay for me when I installed them (I tested a movie, it worked).

I decided to leave out DivX 5.x for now, because the people testing probably don't want to have divx installed every time.

These both have the alpha8 of GordianKnot inside them. I will update it as necessary to keep up with the new releases.

http://www.csupomona.edu/~iwsnyder/GKnot/GordianKnot.RipPack.0.28.alpha8.Setup.exe
http://www.csupomona.edu/~iwsnyder/GKnot/GordianKnot.SystemPack.1.1.alpha8.Setup.exe

Thanks,
irasnyd

sh0dan
8th April 2003, 08:16
Seems very good :)

I assume you are installing either DivX or XviD to decompress YV12.

You might want to use the newest CVS bin, in case you are opening AVS files inside gknot.

TheWEF
8th April 2003, 08:40
just tested the installers and they seem to work fine. :)

maybe you should use NSI 2.0(b3), looks a little nicer.

wef.

irasnyd
8th April 2003, 08:54
@wef

I think I'm gonna do that. I was more interested in getting them to work to start with, and then moving to that.

irasnyd

len0x
8th April 2003, 10:48
Originally posted by irasnyd
Also, will 0.28 work with Divx 5.02, or only with 5.03/5.04? (should I include one of these, or leave them out?)


It works with everything :)
I think user still has to have a choice install either 5.0.2 or 5.0.3/4...

len0x
8th April 2003, 19:21
plus popular noise filters (FluxSmooth, Convolution3D...)

irasnyd
8th April 2003, 20:14
What do you guys think about me making a "codec pack" that has just codecs? (xvid, divx 3.11a, divx 5.02, divx 5.03, and the latest divx 5.04) That would reduce the size of the other two downloads, and it would also let the user have more choice of the codecs installed.

Also, which Xvid binaries should I include? I don't have much experience with Xvid, but I'm looking forward to testing it out!

Here is the GKnot 0.28 alpha9 installers:
http://www.csupomona.edu/~iwsnyder/GKnot/GordianKnot.RipPack.0.28.alpha9.Setup.exe
http://www.csupomona.edu/~iwsnyder/GKnot/GordianKnot.SystemPack.1.1.alpha9.Setup.exe

I added:
FluxSmooth and Conv3d (both for AVS 2.5 only).
The 0.28 alpha9 exe

irasnyd

majerle
9th April 2003, 14:03
@irasnyd

Hi download and installed your packs ( and rebooted btw)
On a win xp sp1 i have successfuly encoded in divx schizo 3 (3pass), and xvid (umaniacs 08/04/2003 builD).

no problems at all.

Thanks

Andres

len0x
9th April 2003, 14:23
Codec pack is a good idea, but my only concern is to have so many installers for such a simple thing :)

(I personally don't care how many thing I have to install to get something working, but others might)

About xvid - lets try umaniacs builds...

majerle
9th April 2003, 15:46
@Len0x
Sorry Lenox but is preferible to use koepi 05/04/2003, is more tested and, probably, more stable. ( and fully functional in Gknot alpha 10)

Thanks

Andres

len0x
9th April 2003, 16:12
Personally I'm using koepi's builds as well, but was always wondering what's the diffrence ?

spud1980
9th April 2003, 21:00
Hi just a quick one,

What is the NSInstaller SP 1.1 thingy on the soundforge page?
Is that a system pack upgrade for the existing system pack 0.27 on the same page as well?

And also how do users choose between 5.02, 5.03/5.04 within Gnot (if even possible), cuz to my understanding you can't install more than one version of DivX in xp right? Or am I wrong.

Oh a comment about the codec pack and lenox remark about how so many installers for such a simple program. My sentiments are (from a noob and less experienced user's point of view) is that it's better to have everything included no matter how many installers or big the file might be whether in the installer itself or as a seperate codec pack to make sure everything works and getting the desired end result. If things are excluded it's just get messy later when people come up and ask where do you get this and that and how they tried to install stuff and they won't work bcoz of either wrong directory or overwriting existing critical files etc. You know how that can be a hassle. :)

Cheers.

irasnyd
9th April 2003, 21:22
Originally posted by spud1980
Hi just a quick one,

What is the NSInstaller SP 1.1 thingy on the soundforge page?
Is that a system pack upgrade for the existing system pack 0.27 on the same page as well?

And also how do users choose between 5.02, 5.03/5.04 within Gnot (if even possible), cuz to my understanding you can't install more than one version of DivX in xp right? Or am I wrong.

Cheers.

The NSInstaller is the scripts that are used with Nullsoft's NSIS program to make the installers. If you want to upgrade from 0.27 I would recommend deleting the entire GKnot folder on your hard drive, then using the installers above. They will install all the necessary things for the 0.28 build.

irasnyd

len0x
9th April 2003, 21:42
Can you build installers for alpha 10 with xvid inside plz ? :)
I actually haven't tried yet, will do tomorrow though...

I'm thinking of releasing public beta around weekend, so we have to make sure that installer work fine :)

irasnyd
9th April 2003, 21:49
Yup, I'm working on it right now. :)

It'll be up pretty soon.

spud1980
9th April 2003, 21:53
Originally posted by irasnyd
The NSInstaller is the scripts that are used with Nullsoft's NSIS program to make the installers. If you want to upgrade from 0.27 I would recommend deleting the entire GKnot folder on your hard drive, then using the installers above. They will install all the necessary things for the 0.28 build.

irasnyd

Oh I see,

But that would be unecessary for me now right? Since the final release of Gnot 0.28 will be accompanied with it's own system pack and stuff. I would be stick to the stable 0.27 release for the moment.

And also how do users choose between 5.02, 5.03/5.04 within Gnot (if even possible), cuz to my understanding you can't install more than one version of DivX in xp right? Or am I wrong.

cheers.

SubConscious
9th April 2003, 23:24
Hi there

I have build an installer with the following:

Gordian Knot 0.28 alpha 10
robot4rip 0.2 beta
DVDDecrypter 3.1.4
vStrip 0.8 css
DVD2AVI 1.76 commandline 1.05
BeSweet 1.5b16
VirtualDubMod 1.4.13.2 v2
Nandub 1.0RC2 'lumafix & ecf-fix'
ChapterXtractor 0.962
AviSynth 2.5.1
AviSynth Plugins
Huffyuv 0.2.2.1 cce-patch
VobSub 2.23

And also with uninstall support
The installer's size is 6.67MB

To download click HERE (http://homepage.ntlworld.com/panagiopis.oikonomidis/DivX.Tools.exe)

irasnyd
10th April 2003, 01:21
Alright, new installers are out again.

Changelog:
-GKnot 0.28 alpha 10
-added DVD Decrypter 3.1.5.0
-added fluxsmooth, convolution3d, and deen (AVS 2.5 plugins)
-added uninstaller
-added Koepi's XviD Build 05042003-1
-added the option of DivX 5.02 or 5.03
-updated some docs (this still needs more work)
-added an exe only installer (not really necessary yet, but it may be someday)
-changed the licenses a bit
-Changed "TheWEF & Doom9 present:" to "Doom9 & The Gordian Knot Developers present:"
-updated to Nullsoft NSIS 2.0b3 (newer look)
-changed the way the doc's directory is laid out
-now deleting start menu shortcuts in uninstaller

completely reorganized the collection:
-we now have a system pack and a codec pack
-system pack installs everything needed to encode movies except for codecs

Links:
System Pack 0.28 alpha10 (http://www.csupomona.edu/~iwsnyder/GKnot/Gordian.Knot.SystemPack.0.28.alpha10.exe)
Codec Pack 0.28 alpha10 (http://www.csupomona.edu/~iwsnyder/GKnot/Gordian.Knot.Codec.Pack.0.28.alpha10.exe)
Executable Only 0.28 alpha10 (http://www.csupomona.edu/~iwsnyder/GKnot/GordianKnot.ExeOnly.0.28.alpha10.exe)

irasnyd

artnix
10th April 2003, 07:32
Originally posted by irasnyd
Alright, new installers are out again.
irasnyd

Greetings;

Just letting you all know:

Codec Pack 0.28 alpha10 ---> Your Installer Has A problem "Installer corrupted or incpmplete" download size 7.59mb

Arthur ;)

irasnyd
10th April 2003, 08:28
Thanks...I guess it had some error in uploading.

I just re-uploaded all of them, then re-downloaded and tested. They all worked okay.

irasnyd

artnix
10th April 2003, 15:02
Kool... I'll give 'em another try...

len0x
10th April 2003, 15:17
We have to have installer set the following keys in the registry
(all in HKEY_CURRENT_USER\Software\GordianKnot):

"alternative_mpeg2dec_name": "mpeg2dec3.dll"
"Use_alternative_mpeg2dec": 1
"VirtualDubExe": actually here should be pass to VDubMod (under the directory where user selected to install GK)

Can we do that ?
This will resolve some problems when upgrading...

artnix
10th April 2003, 15:23
Originally posted by irasnyd
Thanks...I guess it had some error in uploading.

I just re-uploaded all of them, then re-downloaded and tested. They all worked okay.

irasnyd

irasnyd

Here is what I still get after re-downloading both files...

I attached the error message in a image file....

len0x
10th April 2003, 15:26
file missing probably...

artnix
10th April 2003, 15:47
Attached file like where it says "Attach File:"

Should be there...

Edit: No image needed as its a picture of an error dialog just need the text (attatchment deleted) - DaveEL

NSIS ERROR

Installer corrupted or incomplete.
This could be the result of a failed download or corruption from a virus.
If desperate, try the /NCRC command line switch (not recommended)

len0x
10th April 2003, 16:38
I think AVISynth_Spatial.dll is not AVS 2.5 plug in...
we should remove it if it's not...

SubConscious
10th April 2003, 17:04
Originally posted by len0x
We have to have installer set the following keys in the registry
(all in HKEY_CURRENT_USER\Software\GordianKnot):

"alternative_mpeg2dec_name": "mpeg2dec3.dll"
"Use_alternative_mpeg2dec": 1
"VirtualDubExe": actually here should be pass to VDubMod (under the directory where user selected to install GK)

Can we do that ?
This will resolve some problems when upgrading...

I have tried to do that but the problem is when this values don’t exist (when you install GKnot for the first time) the installer doesn’t creates them as a string so GKnot gives an error message. Probably if you search more there can be a way.

An easy solution can be to delete the whole GordianKnot registry by using this command:
DeleteRegKey HKCU SOFTWARE\GordianKnot

So then the correct values will be created from the program.

I hope that I helped.

len0x
10th April 2003, 17:14
Originally posted by SubConscious
I have tried to do that but the problem is when this values don’t exist (when you install GKnot for the first time) the installer doesn’t creates them as a string so GKnot gives an error message. Probably if you search more there can be a way.


Bummer...

Originally posted by SubConscious

An easy solution can be to delete the whole GordianKnot registry by using this command:
DeleteRegKey HKCU SOFTWARE\GordianKnot
So then the correct values will be created from the program.


They can be created if it's empty key indeed. But users _will_ be upgrading (without deleting key) and then asking why old Vdub didn't work! :)

@irasnyd

Having Robot4Rip in the installer would be nice as well, if Wef doesn't mind...

SubConscious
10th April 2003, 17:37
@len0x

WriteRegStr HKCU SOFTWARE\GordianKnot "alternative_mpeg2dec_name" "mpeg2dec3.dll"

WriteRegDWORD HKCU SOFTWARE\GordianKnot "Use_alternative_mpeg2dec" 1

WriteRegStr HKCU SOFTWARE\GordianKnot "VirtualDubExe" "$INSTDIR\VirtualDubMod\VirtualDubMod.exe"

Happy now :)

Also I just want to say thank you for bringing GKnot back to life.

SubConscious
10th April 2003, 18:27
As for Robot4Rip I can suggest this code (the files robot4rip.exe, AuthDVD.DLL, robot4rip.ini must be included):

Section "robot4rip 0.2 beta"
SectionIn 1
SetOutPath "$INSTDIR"
File GordianKnot\Robot4Rip\*.*
CreateShortCut "$SMPROGRAMS\Gordian Knot\robot4rip.lnk" "$OUTDIR\robot4rip.exe"

WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "ExeDVDDecrypter" "$INSTDIR\DVDDecrypter.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "ExevStrip" "$INSTDIR\vstrip.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "ExeVStripGui" "$INSTDIR\vStrip_gui.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "ExeDVD2AVI" "$INSTDIR\DVD2AVI.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "ExeChapterXtractor" "$INSTDIR\ChapterXtractor.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "ExePostProduction" "$INSTDIR\"
WriteINIStr "$INSTDIR\robot4rip.ini" "Main" "PostProductionCmd" "$INSTDIR\"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset1" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset2" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset3" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset4" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset5" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset6" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset7" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset8" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset9" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset10" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset11" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset12" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset13" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset14" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset15" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset16" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset17" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset18" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset19" "EncoderExe" "$INSTDIR\BeSweet.exe"
WriteINIStr "$INSTDIR\robot4rip.ini" "AudioEncoderPreset20" "EncoderExe" "$INSTDIR\BeSweet.exe"
SectionEnd

irasnyd
10th April 2003, 19:02
Yeah, all of that registry stuff is definitely possible. I'll get to work :)

irasnyd
10th April 2003, 20:59
There's a problem with the registry stuff.

If I write those 3 values, and it is a clean install of the new GKnot (nothing in the registry), then, when GKnot is started for the first time it says "Old or damaged registry entries detected! Do you want to delete the old settings?" It doesnt really matter whether you click yes or know in this situation, both ways still use the correct settings.

When upgrading from the 0.27 release, it doesnt give this error, but it does set the correct values.

What do you think I should do about this?

irasnyd

//EDIT: I decided just to clear the registry, and let GKnot write the correct values.

irasnyd
10th April 2003, 21:53
Here are 0.28 alpha11 installers:

changelog:
-added Robot4Rip 0.2beta (thanks SubConscious!)
-added ChapterXtractor (for Robot4Rip)
-added Robot4Rip docs
-added Robot4Rip and ChapterXtractor to the GKnot folder in the start menu
-added link to the uninstaller to the start menu
-installer now deletes VirtualDub (not VdubMod!) folder (if it exists) to help avoid confusion
-installer now clears the registry to allow 0.28 to write the correct values
-cleaned up the uninstaller code
-removed Avisynth_spatial.dll

-codec pack is unchanged except for the bump in version number
-exe-only pack is unchanged except for the new alpha11 exe

Links:
System Pack 0.28alpha11 (http://www.csupomona.edu/~iwsnyder/GKnot/Gordian.Knot.SystemPack.0.28.alpha11.exe)
Codec Pack 0.28alpha11 (http://www.csupomona.edu/~iwsnyder/GKnot/Gordian.Knot.Codec.Pack.0.28.alpha11.exe)
Exe-only 0.28alpha11 (http://www.csupomona.edu/~iwsnyder/GKnot/GordianKnot.ExeOnly.0.28.alpha11.exe)

irasnyd

artnix
10th April 2003, 22:44
Once Again, both packs have this errror.

NSIS ERROR

Installer corrupted or incomplete.
This could be the result of a failed download or corruption from a virus.
If desperate, try the /NCRC command line switch (not recommended)

maybe can you just include the script files and I could compile it here on my system. Maybe not your problem, maybe mine...

Arthur :cool:

artnix
10th April 2003, 22:45
BTW i'm on and XP Pro system w/SP1a installed...

irasnyd
10th April 2003, 23:03
Ok, here is the scripts + binaries I used. They should compile with both NSIS 1 and NSIS 2. (I started with NSIS1, then moved to NSIS2 for yesterday and today's builds)

http://www.csupomona.edu/~iwsnyder/GKnot/GKnot_Pack_0.28alpha11.zip

I'm using XP Pro w/SP1a too.

artnix
11th April 2003, 00:27
Great, Thanks for the file... I'll take a look and see if it's an XP error or not...

TIA :D

artnix
11th April 2003, 00:28
Maybe now I'll get a grasp on the install scripts and do my own mods... TIA!!

Arthur :D

SubConscious
11th April 2003, 01:38
@irasnyd
the ini settings I gave you for robot4rip were usefull only if you were including the robot4rip.ini

I did some small changes in the installers if you don’t mind.

Changelog for system_pack:
-fixed the registry settings to allow 0.28 work with no errors (with out deleting all the settings)
-removed some unnecessary registry delete commands
-removed some unnecessary robot4rip ini settings
-moved robot4rip link next to Gordian Knot’s
-installer now has ChapterXtractor as an separate option
-removed the unnecessary type of install

Changelog for codec_pack:
-added the ability to chose only one DivX codec (DivX 5.03 or DivX 5.02)
-removed the unnecessary destination directory window (because codec's go in the system)
-removed the unnecessary type of install

Changelog for exe_only:
-fixed the registry settings to allow 0.28 work with no errors (with out deleting all the settings)

Links:

System Pack 0.28alpha11 (http://homepage.ntlworld.com/panagiopis.oikonomidis/Gordian.Knot.SystemPack.0.28.alpha11.exe)
Codec Pack 0.28alpha11 (http://homepage.ntlworld.com/panagiopis.oikonomidis/Gordian.Knot.Codec.Pack.0.28.alpha11.exe)
Exe-only 0.28alpha11 (http://homepage.ntlworld.com/panagiopis.oikonomidis/GordianKnot.ExeOnly.0.28.alpha11.exe)

scripts + binaries (http://homepage.ntlworld.com/panagiopis.oikonomidis/GKnot_Pack_0.28alpha11.rar)

irasnyd
11th April 2003, 02:06
No that's absolutely fine. In fact I think its a good thing to have someone else look over one's code.

I'm gonna use the code from these installers for the newer ones.

irasnyd

spud1980
11th April 2003, 16:27
Hi I understand that DVD Decrypter v3.1.5.0 has been released. Would it be released with the latest Rip or system pack? Does it need to be tested out properly before it can be implemented in the new Installers?

Cheers.

len0x
11th April 2003, 16:34
it's already in test installers...
works for me...

SubConscious
11th April 2003, 17:23
I have done some changes in the codec pack

Changelog for codec_pack:
-replaced the DivX codec’s with the pro version
-remove the Adware registry keys from the DivX Pro codec’s
-kills the gain_trickler process (it works for Win NT/2000/XP, if any one knows any good command line process killer please inform me)

Links:

Codec Pack 0.28alpha11 (http://homepage.ntlworld.com/panagiopis.oikonomidis/Gordian.Knot.Codec.Pack.0.28.alpha11.exe)

script + binaries for codec pack (http://homepage.ntlworld.com/panagiopis.oikonomidis/codec_pack_scripts_bin.rar)