VBScript Windows Installer custom action which using some special character like « to differential string values.

This custom action working smoothly on OS which has English as System Locale Language. 

If I change the System Lcoale to Chinese (traditional, Taiwan) language then custom action fails at special character used in string value.

The .VBS file default encoding format is ANSI.

If I save .VBS file from ANSI to Unicode encoding format then also custom action fails with following error msg.

Windows Installer Log:

MSI (s) (54:68) [15:04:47:004]: Product: SUserData -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action SUserData_Process_CA script error -2146827256, Microsoft VBScript compilation error: Invalid character Line 1, Column 1, ?

What could be the issue?

any suggession...?

1 Comment   [ - ] Hide Comment


  • Can you elaborate a little more what exactly this custom action does
Please log in to comment

There are no answers at this time
Answer this question or Comment on this question for clarity