0

I am creating an Installer using WiX, and as part of this I am installing Oracle also. I am using CA for doing this. But it fails without executing.

<CustomAction Id="InstallORA" ExeCommand="[ORACLE]start-oraclexe-install.bat" Directory="ORACLE" Execute="deferred" Return="check" Impersonate="no" />

My bat file content is:

C:\xe-10.2.0.1-nt.exe /s /f1"C:\OracleXE-install.iss" /f2"C:\oraclexe-setup.log"

In logs I see MSI (s) (44:9C) [12:18:42:344]: Running as a service. after this it pops an error message.

Any ideas how to fix it?

Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139
Ravz1234
  • 129
  • 1
  • 2
  • 12
  • 1
    Impersonate="no" means installation is being run under the SYSTEM service account, not under the user account. This is really a bad idea anyway, you should use a bootstrapper instead. – saschabeaumont Aug 22 '12 at 02:16
  • Hi, I have used burn.exe(thanks to saschabeaumont), for bundling my exe and msi. But can i install any one based on user selection, and can i take input from burn created UI and pass it on to msi inside. – Ravz1234 Aug 22 '12 at 19:06

0 Answers0