Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
16th July 2005, 09:45 | #1 | Link |
Registered User
Join Date: Feb 2005
Posts: 5
|
Avisynth Installation Problem: Could not write to Registry error
I have a Desktop WIN2000 Computer on which I cannot install any version of Avisynth using the autoinstallation program. I get the following error message during the *.exe file installation stage (right after "color_rgb.avsi"):
Avisynth!\r\n\r\n Could not write to registry Administration rights required I am the adminstrator so I do not lack adminstrative privileges. I also turned off Norton Antivirus 2005 and Sybot Teatime (Registry Guard) for the installation. Avisynth is the only self-installing program that I have tried to install on this computer that does not work. I do have a laptop running WINXP on which Avisynth successfully has been installed. I copied the installed program to a CD (along with Avisynth.dll) which I then used for a dirty installation by copying it directly to the WIN2000 Computer's Program file (Avisynth.dll went to the System32 directory). I then tried to manually register Avisynth.dll with regsvr32.exe and got the following message: Avisynth.dll was loaded but DLLRegisterServer entry point was not found DLLRegisterServer may not be exported or a corrupt version of Avisynth.dll may be in memory. I have RegistryFix on my computer so I ran it but to no avail. The same error message still comes up. The only good news is that this dirty installation seems to have worked as I can successfully open an Avisynth Script with VDMod. As a matter of principle, I hate having to rely on a dirty installation. Is there someplace where I can get a non-self-installing version of Avisynth 2.56 (along with installation instructions) to replace this jury-rigged solution? |
18th July 2005, 05:05 | #2 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Please quote error messages EXACTLY it should have been "You need administrator rights to install AviSynth!\r\n\r\n(Could not write to registry)", any other message is coming from somewhere else.
If Avisynth is working after a "dirty" install them most of the registry keys must have been written (at some stage previously). On a normal registry Administrators should have write access to the areas the installer needs to access BUT various well meaning products and some noxious viruses change the default registry protection. The former to stop the the latter, the latter to hinder their removal. The installer product we use does not have the ability to change registry protection and even if it did I would not use it to circumvent this issue. The registry keys and values written are as follows Code:
WriteRegStr HKLM "SOFTWARE\AviSynth" "plugindir2_5" "$0" WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AviSynth" "DisplayName" "AviSynth 2.5" WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AviSynth" "UninstallString" '"$INSTDIR\Uninstall.exe"' WriteRegStr HKLM "SOFTWARE\Classes\.avs" "" "avsfile" WriteRegStr HKCR ".avs" "" "avs_auto_file" WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" "" "AviSynth" WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" "" AviSynth.dll WriteRegStr HKCR "avifile\Extensions\avs" "" "{E6D6B700-124D-11D4-86F3-DB80AFD98778}" WriteRegStr HKCR "Media Type\Extensions\.avs" "" "" WriteRegStr HKCR "Media Type\Extensions\.avs" "Source Filter" "{D3588AB0-0781-11CE-B03A-0020AF0BA770}" WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" "ThreadingModel" "Apartment" WriteRegStr HKCR ".avs" "" "avsfile" WriteRegStr HKCR "avsfile" "" "AviSynth Script" WriteRegStr HKCR "avsfile\DefaultIcon" "" $SYSDIR\AviSynth.dll,0 IanB |
14th February 2006, 07:21 | #3 | Link |
Registered User
Join Date: Oct 2003
Posts: 435
|
i just installed a fresh WinXP SP2 on a new amd opterton 165 and mobo and am now getting this exact same issue
i cant install avisynth but i am the admin? everything else i had installed with no issues and this really screws me now as i bought this dual core for video-encoding heh.. damn.. |
14th February 2006, 19:13 | #4 | Link |
Registered User
Join Date: Jun 2005
Posts: 11
|
Interesting thing happened. Now, I have a Toshiba laptop which AVIsynth installed on no problem. My new HP Pavillion desktop machine originally tossed up this error:
http://forum.doom9.org/showthread.php?t=97406 ...so I set the WINDOWS folder to un-read-only everything it could. Now I'm getting the registry message that this thread is about. Argh, this is why new computers suck! So does anybody have a concrete workaround? I'm also not one who likes dirty installs... |
26th March 2006, 23:10 | #5 | Link |
Registered User
Join Date: Mar 2006
Posts: 2
|
I found that the "You need administrator rights to install AviSynth!\r\n\r\n(Could not write to registry)" is sometimes incorrectly displayed if the installation procedure can't write to the installation directory.
I got this error and no amount of register cleaning would get rid of it. Finally I noticed there was an existing "C:\Program Files\AviSynth 2.5" directory left over from an old install. Once I deleted this directory, AviSynth installed without any issues. So even though the error message mentions the registry, check to see if the directory exists already and if it does, delete it. |
27th March 2006, 22:24 | #6 | Link |
Registered User
Join Date: Apr 2002
Posts: 399
|
This has been an issue since 2.55. I recently had to do a complete system reinstall, and I also found that I couldn't write to the registry. And yes, I have FULL admin rights. I got it to install by installing 2.54 (I actually tried 2.56, which gave me this problem, 2.55, which also gave probs, then 2.54, which installed correctly), then I was able to install 2.56. A VERSION() correctly shows 2.56.
Apparently, this issue doesn't show up unless you have no previous Avisynth keys in the registry. Once I got Avisynth keys in the registry (with 2.54), it installed correctly (really not sure about the "correctly" part). I have also lost my PLUGIN directory advantage (even though the reg key points to it correctly), since I now have to use the LOADPLUGIN command for every plugin in every script. Perhaps we can now get the developers to look at the installation program? |
30th March 2006, 21:34 | #7 | Link |
Registered User
Join Date: Mar 2005
Posts: 366
|
What Morac wrote helped me out. Thanks!
Tin3tin
__________________
DVD slideshow GUI(Freeware). Last edited by tin3tin; 31st March 2006 at 05:59. |
2nd April 2006, 12:43 | #9 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
This looks like the problem occurs when installing on top of another install, due to the nature of AviSynth a side by side setup is not intended, the installer should not allow to install before uninstalling previous versions.
As a rule of thumb, if you install something before uninstalling an old version you have a higher chance to run into problems (AviSynth seem to prove this) and you bloat your system so unless you got a good reason always uninstal a old version before installing a new version.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 2nd April 2006 at 12:46. |
25th September 2006, 20:30 | #11 | Link |
Registered User
Join Date: Jun 2006
Posts: 397
|
It also happened to me with the latest AviSynth 2.5.x and Win98. It's a first install of AviSynth, but perhaps some other tool has previously copied AviSynth.dll into the system dir, which confused the installer script?
I deleted the AviSynth dir in %progfiles% and it worked. Could be nice if all the files were put into the directory I specified at install time. Right now it puts stuff in %sysdir%, %progfiles%\AviSynth, and in the designated target dir. |
25th September 2006, 21:09 | #12 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
SUPER likes to copy avisynth.dll into %sysdir% and give it read only, hidden, and system attributes, which confuses the poor avisynth installer, as well as the files in the progfiles folder. I emailed them about it but never had a reply back.
(Since the whole system has to be able to use it, it either has to go in %sysdir% or add the folder to the path. For devs a further polluted path isn't a great option, though it's not the end of the world, I guess.) |
26th October 2009, 18:02 | #14 | Link |
Registered User
Join Date: Jul 2007
Posts: 12
|
I'm getting exactly the same problem. It won't get past the installation stage (when it gets about a third of the way there).
I get the "You need administrator rights" error. I'm using Windows 7 64-bit and yes, have made sure of the following : 1. I have only 1 user account and it does have admin rights. 2. I can manually add to the registry with regedit without problems. 3. I don't have any software protecting the registry. 4. I haven't installed AVIsynth before on this computer, and I have tried deleting the directory folder and trying again. 5. I'm using 2.5.8, though I have tried all the others, such as 2.5.4 etc... Same problem though. Any help would be appreciated as I need my Staxrip to work, and AVIsynth is a part of it! Thank you!! |
26th October 2009, 18:26 | #15 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
26th October 2009, 22:00 | #17 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Try AviSynth 32bit and start the setup explicitly as admin using right-click choosing 'Run as administrator'.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th October 2009, 22:42 | #19 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Check your registry to find at which key the installer fails to write to.
Code:
WriteRegStr HKLM "SOFTWARE\AviSynth" "plugindir2_5" "$0" WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AviSynth" "DisplayName" "AviSynth 2.5" WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AviSynth" "UninstallString" '"$INSTDIR\Uninstall.exe"' WriteRegStr HKLM "SOFTWARE\Classes\.avs" "" "avsfile" WriteRegStr HKCR ".avs" "" "avs_auto_file" WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}" "" "AviSynth" WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" "" AviSynth.dll WriteRegStr HKCR "avifile\Extensions\avs" "" "{E6D6B700-124D-11D4-86F3-DB80AFD98778}" WriteRegStr HKCR "Media Type\Extensions\.avs" "" "" WriteRegStr HKCR "Media Type\Extensions\.avs" "Source Filter" "{D3588AB0-0781-11CE-B03A-0020AF0BA770}" WriteRegStr HKCR "CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32" "ThreadingModel" "Apartment" WriteRegStr HKCR ".avs" "" "avsfile" WriteRegStr HKCR "avsfile" "" "AviSynth Script" WriteRegStr HKCR "avsfile\DefaultIcon" "" $SYSDIR\AviSynth.dll,0
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th October 2009, 23:11 | #20 | Link |
Registered User
Join Date: Jul 2007
Posts: 12
|
There are no entries in the registry for AviSynth. The error comes up saying :
"You need administrator rights to install Avisynth. (could not write to registry HKCR)" It fails at the "extract colors_rgb.avsi" part of the installer. |
|
|