Windows service read/write permissions problems

Hi,

we have a problem with the latest version of AutomaticUpdater.dll from 2011-12-16 wich was sent by wyDay because of problems win32 service. (https://wyday.com/forum/t/993/closingforinstall-is-true-after-updating-a-window-service/)

now we have a problem wich seems to be related to Directory permissions. With the new version I get this error when the service is started :

Winows service won't start. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Roaming\wyUpdate AU\{695D9BA0-4AEE-4EC2-A5CE-9DBA5B8919DD}.autoupdate'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at wyDay.Controls.AutoUpdaterInfo.Save(String filename) at wyDay.Controls.AutoUpdaterInfo.Save() at wyDay.Controls.AutomaticUpdaterBackend.AppLoaded() at UpdaterService.Service.UpdaterService.InitializeAutomaticUpdater() at UpdaterService.Service.UpdaterService.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

I know it's related to permissions on a station, but in our virtual machine, even a user with admin privileges can't start the service. Now if I rollback AutomaticUpdater.dll it works fine. Do you have any solution for this problem?

thanks

Woops -- this is because we didn't completely fix the bug.

Your x86 process is creating the redirected directory, but then trying to save to the non-redirected directory (a directory that doesn't exist). We'll fix this, and I'll send you the new fixed AutomaticUpdater.

Great! thank you very much.

I don't know if you still have my email address so do you want an email with the thread title so you can send the zip file?

Yes, that would be helpful.

I've send you the fixed AutomaticUpdater. Tell me if this fixes your problem.