Page 1 of 1

VISTA question

Posted: Mon Sep 29, 2008 4:48 pm
by Otto
Could someone please test.

If you name the exe setup.exe this program executes without an error but does not write the ini – file. The directory must be a network directory. If you rename it to test.exe all is working.

Regards,
Otto

#INCLUDE "FiveWin.ch"

//-------------------------------------------------------------//

FUNCTION Main()

LOCAL cIniFile := "T:\xWHDATEN\ini\"+"\test.ini"

WritePProString( "PATH" , "OBJ" , "cObj" , cIniFile )

msginfo("End")

RETURN( NIL )
//-------------------------------------------------------------//

Posted: Mon Sep 29, 2008 8:38 pm
by Rochinha
Otto

by reason of security, Vista will run setup.exe(Windows Install) first.

Posted: Mon Sep 29, 2008 9:36 pm
by Otto
Hello Rochinha,
Windows security center asks if you allow to execute the program.
Also if I answer with yes the exe does not write to the ini-file.
This only happens if in the exe-file-name is “setup”.
My exe is called xWHSetup.exe.

But there is no warning that nothing is written nor an error.

Regards,
Otto

Posted: Tue Sep 30, 2008 5:10 am
by Rochinha
Otto

This problem may be related only to files named setup.ini or setup.inf, used by Windows for installations.

My recommendation is not to use this name in future.

I had this problem.