Re: [WiX-users] session.GetProdutProperty() always throws InvalidHandleException

2008-07-23 Thread Nathan Hopper
The custom action is set to "immediate", I've also tried "commit".









   
   
   


Thanks,
-Nate

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ginchereau
Sent: Wednesday, July 23, 2008 11:13 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] session.GetProdutProperty() always throws 
InvalidHandleException

Is your custom action deferred? Deferred CAs cannot access properties other 
than CustomActionData.

Sources are in the wix3-sources.zip in the release folder of each build. There 
is a wix3-pdbs.zip that comes out of every build, but it isn't getting 
published -- I think because SF doesn't give us enough space. You can always 
build the sources yourself to get symbols.

-Jason-

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Hopper
Sent: Wednesday, July 23, 2008 10:39 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] session.GetProdutProperty() always throws 
InvalidHandleException

Wix Build - 3.0.4318.0

I'm using the new "C# Custom Action Project" to build a managed custom action.  
When invoking session.GetProductProperty("FOO"),  an InvalidHandleException is 
always thrown.  Calls to session.Log() are processes normally and messages do 
appear in the install log indicting that at least in some cases the handle is 
still valid.  Any ideas?

[Microsoft.Deployment.WindowsInstaller.InvalidHandleException] {"The 
handle is invalid."}

Stack Trace:
   at Microsoft.Deployment.WindowsInstaller.Session.GetProductProperty(String 
property)
   at CustomAction1.CustomActions.CustomAction1(Session session)


Where can I find the source/symbols for 
Microsoft.Deployment.WindowsInstaller.dll?

Thanks,
-Nate


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] session.GetProdutProperty() always throws InvalidHandleException

2008-07-23 Thread Nathan Hopper
Wix Build - 3.0.4318.0

I'm using the new "C# Custom Action Project" to build a managed custom action.  
When invoking session.GetProductProperty("FOO"),  an InvalidHandleException is 
always thrown.  Calls to session.Log() are processes normally and messages do 
appear in the install log indicting that at least in some cases the handle is 
still valid.  Any ideas?

[Microsoft.Deployment.WindowsInstaller.InvalidHandleException] {"The 
handle is invalid."}

Stack Trace:
   at Microsoft.Deployment.WindowsInstaller.Session.GetProductProperty(String 
property)
   at CustomAction1.CustomActions.CustomAction1(Session session)


Where can I find the source/symbols for 
Microsoft.Deployment.WindowsInstaller.dll?

Thanks,
-Nate

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using WIX IIS custom actions with metabase index

2008-06-26 Thread Nathan Hopper
I need to add a virtual directory to an existing website during my application 
install.  I would like to use the WIX WebVirtualDir custom action in order to 
do this.  Unfortunately in order to reference an existing website I need to 
know the name of the website.  I don't have this information, what I do have is 
the index to website from the IIS metabase, ie: /LM/W3SVC/1.  Is there a best 
practice or commonly used solution in this scenario?

Thanks,
-Nate
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users