This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- VS 2008 Toolbox Install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2008
02:24 PM
VS 2008 Toolbox Install
*Why won't it work from the SetupCompleteSuccess dialog?
I have a utility (exe) that installs some controls to a custom tab in VS2008, which I run from an exe custom action. When I run this utility separately or somewhere within the Install Exec Sequence, it works, but it fails when I call it from the SetupCompleteSuccess dialog (after click ok). It fails with the generic 1720, big surprise, but through debugging it says that the "handle is invalid." My VS2005 toolbox utility works from the SetupCompleteSuccess dialog and it uses nearly identical code, aside from calls to the 8.0 environment rather than the 9.0.
Is InstallShield just flaky when it comes to calling 3.0 framework based exe custom actions, or is this something that I can fix? I tried this in both IS 12 and IS 2008 with the same result. I would appreciate any suggestions that may help. This is driving me insane.:eek: TIA
I have a utility (exe) that installs some controls to a custom tab in VS2008, which I run from an exe custom action. When I run this utility separately or somewhere within the Install Exec Sequence, it works, but it fails when I call it from the SetupCompleteSuccess dialog (after click ok). It fails with the generic 1720, big surprise, but through debugging it says that the "handle is invalid." My VS2005 toolbox utility works from the SetupCompleteSuccess dialog and it uses nearly identical code, aside from calls to the 8.0 environment rather than the 9.0.
Is InstallShield just flaky when it comes to calling 3.0 framework based exe custom actions, or is this something that I can fix? I tried this in both IS 12 and IS 2008 with the same result. I would appreciate any suggestions that may help. This is driving me insane.:eek: TIA
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2008
09:13 PM
I don't understand why you would call this from here anyways. CA's that make system configuration changes should be scheduled in the Execute Sequence as deferred between InstallInitialize and InstallFinalize.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2008
03:52 PM
Thanks for the reply. I have a checkbox at the end of the install so the customer can choose whether or not they want a VS2008 tab created. This is how I did it for VS2005 also, and that worked just fine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2008
04:02 PM
I would reccomend asking that question up front before calling the execute sequence. There is a long standing tradition ( see BulletProof Installs ) of asking the user all questions up front and then providing a seamless installation experience. Much prettier then the old days when an install would ask some question, do a bunch of stuff and then ask more questions and repeat. Oops, I want to cancel... oops, I'm in mid stream... no rollback and I can't just click next next next and walk away because it's going to ask me more questions.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2008
04:49 PM
Thanks. The questions are on the SetupCompleteSuccess dialog, so if someone cancels they never get the option to install the stuff to the toolbox anyway, same thing with a rollback. The toolbox install option has been at the end of the install for a long time, and it worked well, so I would rather have my options where my customers expect them if at all possible.
Does anyone knows why a .NET 3.0 CA might not work when launched from the SetupCompleteSucess dialog, when a .NET 2.0 CA does? Thanks again.
Does anyone knows why a .NET 3.0 CA might not work when launched from the SetupCompleteSucess dialog, when a .NET 2.0 CA does? Thanks again.