Skip to content

{handshake sound}

    • About
    • Blog Posts
August 24, 2024

Blog Posts

  • call parent page from user control to invoke page methods

    July 15, 2011

    To illustrate how we will accomplish this using Reflections, we will be using repeater in a user control within a page. Your repeater loads data easily within the user control code behind, but you want to utilize the “ItemCommand” event of the repeater to update some values on the page page. Here’s how this can…

  • C# .Net Clone and Copy Objects using Extension Methods

    June 21, 2011

    One of my earliest blog articles – Clone Objects in .Net Using Reflections – briefly discusses shallow and deep object copying and cloning. For more info. on the semantics and what these terms really mean, see referenced wikipedia article. You may or may not already be familiar with cloning native objects in .Net, such as…

  • C# Create a Windows Installer Class Custom Action bootstrap DLL in .Net

    June 20, 2011

    The standard windows installer project included with Visual Studio right out of the box is great in many deployment scenarios. For more advanced needs, organizations and developers usually defer to 3rd party solutions, such as InstallShield, Wise, wix or NSIS (NullSoft). These solutions are all very well tested and have minimal learning curve in a…

  • Call Cancel from Custom Action in .Net Windows Installer Project

    June 20, 2011

    As an alternative to using the “Rollback” or “InstallException” approach, simply use pinvoke/interop to call the cancel button on the base installer form directly. (see my related post for more detail and full code) References https://ronniediaz.com/2011/06/20/the-savedstate-dictionary-does-not-contain-the-expected-values-and-might-have-been-corrupted/

  • the savedstate dictionary does not contain the expected values and might have been corrupted

    June 20, 2011

    This is a common error with custom action development, especially if you are working with your own custom installer class, not using wix or some other windows installer derivative. Since many of the Google entries for this were unresolved, thought I would give it a quick tackle. 😉 First Solution Throw an exception. This solution…

Previous Page Next Page

Share this:

  • Share
  • Share on X (Opens in new window) X
  • Share on LinkedIn (Opens in new window) LinkedIn
Like Loading…

{handshake sound}

Blog at WordPress.com.

  • Subscribe Subscribed
    • {handshake sound}
    • Already have a WordPress.com account? Log in now.
    • {handshake sound}
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar

Notifications

%d