if (ServiceAddService(szServiceName,szServiceDislayName, "My Services", svServName, FALSE,"") < ISERR_SUCCESS ) the GetExtendedErrInfo(svScript,nvLineNum, nvError); svErrorMsg = FormatMessage(nvE...
In case someone searches with the same problem here is what happened.Our product was installed with IS6 pro. When it was uninstalled the registry keys for both our Service and Device Driver where removed. The windows Service manager was not aware the...
Installscript has several System variables .MAINTENANCE var will be set to True if already installed.if ( MAINTENANCE ) thenI only work with installscript project so I am not positive what is set in a basic MSI. I believe MAINTENANCE is set.Hope that...
You will have to call the function with the empty string. I do not think you can create a function that takes optional input. You can in C or C++. The only function in installscript that works that way is Sprinft or SprintfBox.
I am not sure what you are asking. But is this what your looking for?prototype trace(HWND, STRING,STRING);function trace(hMSI, AddStr, message)STRING svNewStr;begin if (StrLength(AddStr) > 0 ) then svNewStr = AddStr + message; else svN...