Jump to content

.exe file made by AutoItv3 cannot run successfully in ClearCase


 Share

Recommended Posts

Hi, all

I have one .exe file compiled by AutoItV3 placing in the ClearCase server. When I tried to run it, it failed with the prompt of "The system cannot execute the specified program."

I checked the Protection tab in Properties of Version in the context menu and found I do have the read and execute access. However, the upx.exe could run successfully. If I copied the .exe file to the local drive, it could be run successfully.

Also, I checked the System log in Event viewer in Windows. And I found there were two logs about this error. Please refer the attached snapshot. I doubt there be the problem with the priviledge but I don't know how to deal with it.

Could you please give me some ideas?

The script is below only would like to close the window and kill the process.

----------------------------------------------

Const $CmdLogW_Title = "CmdLogW"

Const $LogBckO2_Name = "LogBckO2.exe"

If WinExists($CmdLogW_Title) Then

WinClose($CmdLogW_Title)

WinWaitNotActive($CmdLogW_Title)

EndIf

If ProcessExists($LogBckO2_Name) Then

Sleep(2000)

If ProcessExists($LogBckO2_Name) Then

ProcessClose($LogBckO2_Name)

ProcessWaitClose($LogBckO2_Name)

EndIf

EndIf

---------------------------------------------

post-38466-1223262822_thumb.jpg

Link to comment
Share on other sites

Hmm, can you run Windowed apps on ClearCase? If not, you have to specify using the console.

#AutoIt3Wrapper_Change2CUI=y

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

Hmm, can you run Windowed apps on ClearCase? If not, you have to specify using the console.

#AutoIt3Wrapper_Change2CUI=y

Err, for AutoIt3 Windowed apps, I have not try. But for C# apps, I can.

Just now I did what you said that using the console but still failed.

Err, weird thing........

Link to comment
Share on other sites

ClearCase "Server" ... does this mean that there is a "client" that runs the apps? The client needs to be set to let the EXE run as the logged on user or with "desktop access". Sometimes these things run as "SYSTEM" or some restricted account.

Lar.

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Link to comment
Share on other sites

ClearCase "Server" ... does this mean that there is a "client" that runs the apps? The client needs to be set to let the EXE run as the logged on user or with "desktop access". Sometimes these things run as "SYSTEM" or some restricted account.

Lar.

The user, who runs it, has already been joined into Administrator Group.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...