Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Internal Error 2740


3 replies to this topic

dsiicmtp

dsiicmtp
  • Members
  • 5 posts

Posted 05 February 2003 - 17:17

Hi,

I make a Merge Module and run in it a VBS in CA.
This is the code of my vbs :

Dim WshShell, bKey, bResult
Set WshShell = CreateObject("WScript.Shell")
bKey = 0
bKey = WshShell.RegRead ("HKLM\Software\Odbc\OdbcInst.Ini\MS Code Page Translator\UsageCount")
bKey = bKey + 1
bResult = WshShell.RegWrite ("HKLM\Software\Odbc\OdbcInst.Ini\MS Code Page Translator\UsageCount", bKey, "REG_DWORD")

Propreties of my CA :
- Synchronous (check exit code)
- Immedaite execution
- Always execute

This CA of my Merge Module is executed (table ModuleInstallExecuteSequence) after InstallFinalise with condition "Not Installed".

When I run the main setup (MSI), an internal error 2740 occurs ...

NEED HELP !!!

hambone

hambone
  • Members
  • 206 posts

Posted 05 February 2003 - 18:20

is the sripting host loaded on the target system ?

dsiicmtp

dsiicmtp
  • Members
  • 5 posts

Posted 10 February 2003 - 13:58

Yes, the scripting host is loaded on the taget machine ...

But I found an error in my Merge Module.

Thanks ...

dsiicmtp

dsiicmtp
  • Members
  • 5 posts

Posted 10 February 2003 - 13:58

Now, it's OK !!!