Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

LaunchAppandWait Problem

My project type is InstallscriptMSI project.. I face the problem in Windows7 machine for OCX file registration using LaunchAppAndWait function.

My Code:
LaunchAppAndWait(WINSYSDIR ^ "Regsvr32.exe",
INSTALLDIR ^ "Sample.ocx"

In Windows7 machine , I connect another Windows7 machine through Remote Desktop connection and try to install the application, regsvr32 hangs and installation in hang state.
Labels (1)
0 Kudos
(4) Replies
Level 2

Hi palinsamy,

Did u get the solution for ur problem?? i too facing the same problem
0 Kudos
Not applicable

Did you check “Required Execution Level”? Administrator is required for WIN7.
0 Kudos
Level 7

Hi lambertpandian,

Admin previledge required to install our applications, If there is any other workout ?...
0 Kudos
Level 8

Cannot you just extract the COM data from the IDE rather than run regsvr32.exe?
0 Kudos