Using Clickonce to install MSI?

Hey everyone,

I'm not sure if this question has been answered before - so forgive me if it has already....

I was thinking of using Clickonce to install an MSI file (which would be installing services), and then using Clickonce to download new versions of the MSI file and install them.  I believe that the MSI files can configure the services (e.g. stop the service from running, install the new one, and start it.)  Does anyone know if this is a solution to my problem

I'm sorry once again if this has been answered already, and I would appreciate a link to that thread if applicable.

Regards,
Jon



Answer this question

Using Clickonce to install MSI?

  • Ralphp_Ai2x

    I'd like to understand what specific behavior you are looking to add.

    A few model details (from my limited understanding) that appear to not fit
    - ClickOnce's update behavior is activated by either the web link or the start menu item but a Windows service will have neither so I wonder would cause the update to be invoked
    - ClickOnce's rollback paradigm is to swap back the previous version of an install when one chooses to rollback via Add Remove Programs so did one want this swapping with MSI too

    Put another way, what features are missing from MSI that are in ClickOnce which is leading to the combinatorial solution

    Sorry if this is obvious but I'm trying to parse the value in each silo.

    Thanks,
    Robert


  • palm2005

    If you made an application that would determine if the local MSI was newer than what was installed (you can use the Windows Installer Object Model to do that), then technically, you could make this work, by having the MSI be a loose / content file type requirement.  The app would have to continually run, like in the start tray or something, and would need to use the Deployment API’s to poll on whether there was a new update available, and then restart itself.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    However, this is not what ClickOnce was designed to do, so there might be some issues I haven’t thought of. I think an SMS type solution would be a better one if it’s possible for you. J

     

    HTH!



  • Using Clickonce to install MSI?