VISTA question

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

VISTA question

Post 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 )
//-------------------------------------------------------------//
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

Otto

by reason of security, Vista will run setup.exe(Windows Install) first.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post 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.
Post Reply