Archive: "Error while opening file for writing" on install


"Error while opening file for writing" on install
I have a large, but not complicated script that compiles without any errors or warnings (You can download the script Here).

When I go to test it though I get an error stating "Error opening file for writing: !Swatter\!Swatter.toc". This is the first file in the script, and if I click ignore I get the same error on the next file and so on.

I've tried it on two computers so far, as a user and administrator and its always the same thing.

I'm somewhat lost. Does anybody have any suggestions?

Thanks.


Attached is the script file, since the URL seems to have been stripped out of my original message.


Nevermind.....

I figured it out.

I was missing the $INSTDIR\ in my setpaths :rolleyes:

Noob mistake.