Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Custom Action does not execute

34 views
Skip to first unread message

teh...@earthlink.net

unread,
Oct 16, 2006, 2:53:08 PM10/16/06
to
Hi all...

I've seen similar posts, but none seem to apply to the problem I'm
having. I'll try to define it well:

Target OS: Windows Server 2003 SP1.
Custom Action: written in VB.NET 2003. Target machine has .net
framework 1.0 and 1.1
Install kit authored in InstallShield (10.5, I think, it's been a
couple years since the installer was last built).
Problem is occuring only on a specific machine.

The problem:
When the installer runs, none of the code in the .net dll is being
executed when I run the installer on this particular machine. I've
tried several things to make sure that the Custom Action was actually
launching, and it appears to be doing so, but not executing any of the
code in the dll. I (think I) know this because:
1. I put a message box as the first line of code in the Install sub
which is overriding System.Configuration.Install.Installer.Install.
When the install kit runs, I never see the message box. (I'm not
rebuilding the installer, just the .net dll, and putting it in the
appropriate location below the msi file).
2. I removed the .net dll from the install media, and of course I got a
message stating that it could not copy the dll to the target folder. I
chose ignore, and when the Custom Action tried to execute (near the end
of the install, where it always executes), it generated a second error
stating that it couldn't find the dll in the target directory. So it
appears that the linkage between the MSI and the dll is working
correctly, and it appears that the installer wants to at least load the
dll, even if it doesn't call the overridden Install method.
3. I modified the dll again, and this time put a message box right
after the call to MyBase.New in the New method. The install kit still
does not display that messagebox.
4. I logged the install using /l*v "c:\setup.log" and everything I can
see that's related to the Custom Action is posted below.

Any ideas? I have Orca installed, can get you whatever info you need
from there.
Travis

Log file:
...
Line 2902:
MSI (s) (EC:EC) [12:11:00:894]: Component:
OmegaHealth.Installers.OAInstallerHelper.dll; Installed: Absent;
Request: Local; Action: Local
...
Line 3637:
MSI (s) (00:30) [13:12:13:987]: Doing action:
_6CFE0ADAA4AA44689657BE85EA0BC883.commit.SetProperty
Action ended 13:12:13: StartServices. Return value 1.
MSI (s) (00:30) [13:12:14:003]: PROPERTY CHANGE: Adding
_6CFE0ADAA4AA44689657BE85EA0BC883.commit property. Its value is
'/installtype=notransaction /action=commit /LogFile=
/SQLLOC="machinename" /SQLID="sa" /SQLPW="nottellingyou"
/SMTP="smtpserver" /RETADDR="c...@nowhere.com"
/RPTACTS="preview,print,export" /DBG="false" /OSCWC="OSC\web.config"
/ODPCFGDB="CMed Document Processor Configuration" /ODPDOCSDB="CMed
Documents Database" /LOGDB="CMed Central Log" /CENQDB="CMed Central
Queue" /RPTDB="CMed Report Definitions" /TASKSCHEDDB="CMed Task
Scheduler" /RESMGRDB="CMedAccessResourcesManager" /CENARCHDB="Central
Archive" /REINSTALL="" /MAINTENANCETYPE=""
/SUPPBILLDB="SupplementalBillingNew" /FACILITY="Customer Name"
/OAUSERID="uid" /OAPASSWORD="pwd"
/OAUSEREMAIL="em...@not.supported.com"
"E:\CMed\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll"'.
Action start 13:12:13:
_6CFE0ADAA4AA44689657BE85EA0BC883.commit.SetProperty.
MSI (s) (00:30) [13:12:14:003]: Doing action:
_6CFE0ADAA4AA44689657BE85EA0BC883.commit
Action ended 13:12:14:
_6CFE0ADAA4AA44689657BE85EA0BC883.commit.SetProperty. Return value 1.
Action start 13:12:14: _6CFE0ADAA4AA44689657BE85EA0BC883.commit.
MSI (s) (00:30) [13:12:14:003]: Doing action:
_09C6B9BD086F49D996E9E355FD638AA5.rollback.SetProperty
Action ended 13:12:14: _6CFE0ADAA4AA44689657BE85EA0BC883.commit. Return
value 1.
MSI (s) (00:30) [13:12:14:003]: PROPERTY CHANGE: Adding
_09C6B9BD086F49D996E9E355FD638AA5.rollback property. Its value is
'/installtype=notransaction /action=rollback /LogFile=
/SQLLOC="machinename" /SQLID="sa" /SQLPW="nottellingyou"
/SMTP="smtpserver" /RETADDR="c...@nowhere.com"
/RPTACTS="preview,print,export" /DBG="false" /OSCWC="OSC\web.config"
/ODPCFGDB="CMed Document Processor Configuration" /ODPDOCSDB="CMed
Documents Database" /LOGDB="CMed Central Log" /CENQDB="CMed Central
Queue" /RPTDB="CMed Report Definitions" /TASKSCHEDDB="CMed Task
Scheduler" /RESMGRDB="CMedAccessResourcesManager" /CENARCHDB="Central
Archive" /REINSTALL="" /MAINTENANCETYPE=""
/SUPPBILLDB="SupplementalBillingNew" /FACILITY="Customer Name"
/OAUSERID="uid" /OAPASSWORD="pwd"
/OAUSEREMAIL="em...@not.supported.com"
"E:\CMed\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll"'.
Action start 13:12:14:
_09C6B9BD086F49D996E9E355FD638AA5.rollback.SetProperty.
MSI (s) (00:30) [13:12:14:003]: Doing action:
_09C6B9BD086F49D996E9E355FD638AA5.rollback
Action ended 13:12:14:
_09C6B9BD086F49D996E9E355FD638AA5.rollback.SetProperty. Return value 1.
Action start 13:12:14: _09C6B9BD086F49D996E9E355FD638AA5.rollback.
MSI (s) (00:30) [13:12:14:003]: Doing action:
_F5E31A1BC39D457489EDC314E1DE9339.install.SetProperty
Action ended 13:12:14: _09C6B9BD086F49D996E9E355FD638AA5.rollback.
Return value 1.
MSI (s) (00:30) [13:12:14:003]: PROPERTY CHANGE: Adding
_F5E31A1BC39D457489EDC314E1DE9339.install property. Its value is
'/installtype=notransaction /action=install /LogFile=
/SQLLOC="machinename" /SQLID="sa" /SQLPW="nottellingyou"
/SMTP="smtpserver" /RETADDR="c...@nowhere.com"
/RPTACTS="preview,print,export" /DBG="false" /OSCWC="OSC\web.config"
/ODPCFGDB="CMed Document Processor Configuration" /ODPDOCSDB="CMed
Documents Database" /LOGDB="CMed Central Log" /CENQDB="CMed Central
Queue" /RPTDB="CMed Report Definitions" /TASKSCHEDDB="CMed Task
Scheduler" /RESMGRDB="CMedAccessResourcesManager" /CENARCHDB="Central
Archive" /REINSTALL="" /MAINTENANCETYPE=""
/SUPPBILLDB="SupplementalBillingNew" /FACILITY="Customer Name"
/OAUSERID="uid" /OAPASSWORD="pwd"
/OAUSEREMAIL="em...@not.supported.com"
"E:\CMed\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll"'.
Action start 13:12:14:
_F5E31A1BC39D457489EDC314E1DE9339.install.SetProperty.
MSI (s) (00:30) [13:12:14:003]: Doing action:
_F5E31A1BC39D457489EDC314E1DE9339.install
Action ended 13:12:14:
_F5E31A1BC39D457489EDC314E1DE9339.install.SetProperty. Return value 1.
Action start 13:12:14: _F5E31A1BC39D457489EDC314E1DE9339.install.
MSI (s) (00:30) [13:12:14:019]: Doing action: RegisterUser
Action ended 13:12:14: _F5E31A1BC39D457489EDC314E1DE9339.install.
Return value 1.
...
Line 3739:
MSI (s) (00:30) [13:12:14:441]: Executing op:
ComponentRegister(ComponentId={BFE10393-A926-44DE-8FAD-F90EF2A02FA3},KeyPath=E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll,State=3,,Disk=1,SharedDllRefCount=1,BinaryType=0)
...
Line 4132:
MSI (s) (00:30) [13:12:15:300]: Executing op:
FileCopy(SourceName=OMEGAH~2.DLL|OmegaHealth.Installers.OAInstallerHelper.dll,SourceCabKey=OmegaHealth.Installers.OAIns,DestName=OmegaHealth.Installers.OAInstallerHelper.dll,Attributes=8193,FileSize=49152,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,Version=1.0.1703.28980,Language=0,InstallMode=58982400,,,,,,,)
MSI (s) (00:30) [13:12:15:300]: File:
E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll; To
be installed; Won't patch; No existing file
MSI (s) (00:30) [13:12:15:300]: Source for file
'OmegaHealth.Installers.OAInstallerHelper.dll' is uncompressed, at
'D:\OAInstallKit\OA\OA Install Kit\Omega\InstallerWorkingFolder\'.
MSI (s) (00:30) [13:12:15:300]: Note: 1: 2318 2:
E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll

MSI (s) (00:30) [13:12:15:316]: Executing op:
FileCopy(SourceName=OMEGAH~1.PDB|OmegaHealth.Installers.OAInstallerHelper.pdb,SourceCabKey=OmegaHealth.Installers.OAIns1,DestName=OmegaHealth.Installers.OAInstallerHelper.pdb,Attributes=8193,FileSize=75264,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-721382611,HashPart2=56753906,HashPart3=1005639601,HashPart4=607255535,,)
MSI (s) (00:30) [13:12:15:316]: File:
E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.pdb; To
be installed; Won't patch; No existing file
MSI (s) (00:30) [13:12:15:316]: Source for file
'OmegaHealth.Installers.OAInstallerHelper.pdb' is uncompressed, at
'D:\OAInstallKit\OA\OA Install Kit\Omega\InstallerWorkingFolder\'.
MSI (s) (00:30) [13:12:15:316]: Note: 1: 2318 2:
E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.pdb

...
Line 11745:
MSI (s) (00:30) [13:12:27:206]: Executing op:
ActionStart(Name=_6CFE0ADAA4AA44689657BE85EA0BC883.commit,,)
MSI (s) (00:30) [13:12:27:206]: Executing op:
CustomActionSchedule(Action=_6CFE0ADAA4AA44689657BE85EA0BC883.commit,ActionType=1537,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction
/action=commit /LogFile= <--snip--all the same parameters as
above--snip-->
"E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll")
MSI (s) (00:30) [13:12:27:206]: Executing op:
ActionStart(Name=_09C6B9BD086F49D996E9E355FD638AA5.rollback,,)
MSI (s) (00:30) [13:12:27:221]: Executing op:
CustomActionSchedule(Action=_09C6B9BD086F49D996E9E355FD638AA5.rollback,ActionType=1281,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction
/action=rollback /LogFile= <--snip--all the same parameters as
above--snip-->
"E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll")
MSI (s) (00:30) [13:12:27:221]: Executing op:
ActionStart(Name=_F5E31A1BC39D457489EDC314E1DE9339.install,,)
MSI (s) (00:30) [13:12:27:221]: Executing op:
CustomActionSchedule(Action=_F5E31A1BC39D457489EDC314E1DE9339.install,ActionType=1025,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction
/action=install /LogFile= <--snip--all the same parameters as
above--snip-->
"E:\Omega\InstallerWorkingFolder\OmegaHealth.Installers.OAInstallerHelper.dll")
MSI (s) (00:FC) [13:12:27:221]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1734.tmp, Entrypoint: ManagedInstall

0 new messages