msnews.microsoft.com
5/10/2006 2:38:00 PM
Phil,
I did create a UI sequence and am trying to pass the information from
the setup UI to the managed code dll but the setup bombs prior to getting to
the dll from the custom actions area. Is there a sample (preferably in
vb.net) that is doing this correctly? I can capture information during setup
from the UI provided the user doesn't put spaces in the textbox.
Jake
"Phil Wilson" <Phil.Wilson@unisys.spamcom> wrote in message
news:uOcAdd6cGHA.3364@TK2MSFTNGP05.phx.gbl...
> That's a managed code exception, so what exactly are you doing? You've got
> a managed form being shown and you're collecting data from it and parsing
> it? I'm thinking you have a dependent assembly that isn't installed yet
> (in the GAC).
>
> The "normal" way to get this data is to collect it in the actual UI
> sequence with an Add Dialog, adding the Customer Information dialog to the
> dialogs and collecting the name there from the USERNAME property, passing
> it to a custom action if you need it there. Perhaps this is what you're
> doing, but that managed code exception means that you have a managed code
> custom action somewhere - MSI doesn't do managed code without custom
> actions of some kind.
> --
> Phil Wilson [MVP Windows Installer]
> ----
> "Jake Smythe" <someone@microsoft.com> wrote in message
> news:e4XDCm3cGHA.1260@TK2MSFTNGP05.phx.gbl...
>> Hello,
>>
>> I have a setup solution that throws the
>> system.io.filenotfoundexception during the installation. I have added a
>> custom form during the installation that has a textbox. When the user
>> puts in any value that has a space the exception is thrown. For example
>> the textbox is asking for the users name. If the user during installation
>> puts in John the installation works fine. If the user puts in John Smith
>> the exception is thrown stating: File or assembly Smith, or one of its
>> dependencies, was not found. Is there a way to allow users to put in
>> their full name during the installation process? Thanks in advance.
>>
>> Jake
>>
>
>