Archive: Unable to Open File for Writing


Unable to Open File for Writing
Im trying to deploy a few ActiveX DLLs made in VB6, so i created with EclipseNSIS the setup and registration routine.
It uses Library.nsh's InstallLib with REGDLL parameter to setup the dll's into a specific programfiles folder.

Whenever i run the setup with NOREBOOT_(PROTECTED/NOTPROTECTED) i get a "Unable to Open file for writing" error message and setup stops.

The Actual DLLs arent in use, and im able to (un)register manually (with regsvr32) and even deleted some just to try.

I also noticed when i use REBOOT_(PROTECTED/UNPROTECTED) it seems to succeed if the setup is run twice. Weird ha?
During the first time run i get a "Could Not Load" error while setup runs, and it skips files.

Any help, comments, etc, all welcome.
Thanks


Hi again, just wanted to add some extra info. I tested the compiled setup under a fresh xp setup and it does the same: Pops an "Error opening file for writing", so im lost here.