VISTA question

VISTA question

Postby Otto » Mon Sep 29, 2008 4:48 pm

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 )
//-------------------------------------------------------------//
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Postby Rochinha » Mon Sep 29, 2008 8:38 pm

Otto

by reason of security, Vista will run setup.exe(Windows Install) first.
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo

Postby Otto » Mon Sep 29, 2008 9:36 pm

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
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Postby Rochinha » Tue Sep 30, 2008 5:10 am

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests