If TEMP doesn't exist: Error 0x8007010b - GetTempFileNameW: Der Verzeichnisname ist ungültig. #24

Open
marknitek opened this Issue Sep 14, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@marknitek

When i try to start my Single Executable Package on a windows 2008 server i get the error message above.
On my development machine (Win7) it works fine. I get the error right at the start (without showing the installer screen).
I tried with admin privileges and without.

BTW: "Der Verzeichnisname ist ungültig" means something lik "The directory name is invalid"

Any Ideas?

@dblock

This comment has been minimized.

Show comment Hide comment
@dblock

dblock Sep 14, 2012

Collaborator

This will need debugging. Run with a log, anything useful above this error?

Collaborator

dblock commented Sep 14, 2012

This will need debugging. Run with a log, anything useful above this error?

@marknitek

This comment has been minimized.

Show comment Hide comment
@marknitek

marknitek Sep 14, 2012

Ok well... it was kind of my fault
running with /Log solved the problem, because after i did this i had no error anymore.
Of course i investigated this, and the root cause was that i deleted the temp folder that was generated by dotnetinstaller
I guess it's still a bug, if the folder gets deleted you get this error, its reproducable for me. if i run with /log parameter it gets recreated again, and everything works again.

Ok well... it was kind of my fault
running with /Log solved the problem, because after i did this i had no error anymore.
Of course i investigated this, and the root cause was that i deleted the temp folder that was generated by dotnetinstaller
I guess it's still a bug, if the folder gets deleted you get this error, its reproducable for me. if i run with /log parameter it gets recreated again, and everything works again.

@dblock

This comment has been minimized.

Show comment Hide comment
@dblock

dblock Sep 14, 2012

Collaborator

While rare, I think that if DNI is going to be writing to temp, it should create it if it doesn't exist. Feel free to contribute a fix!

Collaborator

dblock commented Sep 14, 2012

While rare, I think that if DNI is going to be writing to temp, it should create it if it doesn't exist. Feel free to contribute a fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment