Sorry, this was my bug. APPLICATIONFOLDER is there just fine!

 

From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] 
Sent: Wednesday, October 14, 2009 3:05 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Fetching APPLICATIONFOLDER from CA fails with
IndexOutOfRangeException

 

The following code get the following exception. Can I not fetch this
property from my immediate custom action? Unfortunatley the session object
has an indexer that cannot be enumerated so I'm at a loss as to what can be
"indexed" from the sessin object! - Thanks, Dave

 

        public static ActionResult GetServiceLogon(Session session)

        {

            try

            {

              // get the name of the application folder

              string lServiceName = session["APPLICATIONFOLDER"];

 

*** Error: CmdMan GetServiceLogon custom action got exception
'System.IndexOutOfRangeException: Index was outside the bounds of the array.

   at _CustomActions.CustomActions.GetServiceLogon(Session session)'



__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4507 (20091014) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to