Hey guys,
I've written this MSI installer after a great deal of time (about a
week or so) to suit the needs of my client and 'I'm almost there'.
The users (about 150 of them) have only one shortcut on their
desktops. When clicked, it fetches the MSI from the shared drive F:\
When the versions are different the installer installs the package and
runs the app from the local drive by the following code...
protected override void OnAfterInstall(IDictionary savedState)
{
System.Diagnostics.Process.Start(psi);
}
and everything is fine.
THE PROBLEM:
------------
When the application finds that the VERSIONS ARE SAME, it just QUITS
WITHOUT executing any of the following overridden methods that come
with the installer class.
protected override void OnAfterInstall(IDictionary savedState)
protected override void OnBeforeInstall(IDictionary savedState)
public override void Commit(IDictionary savedState)
public override void Install(IDictionary stateSaver)
protected override void OnAfterRollback(IDictionary savedState)
protected override void OnBeforeRollback(IDictionary savedState)
public override void Rollback(IDictionary savedState)
protected override void OnCommitting(IDictionary savedState)
protected override void OnCommitted(IDictionary savedState)
protected override void OnAfterUninstall(IDictionary savedState)
protected override void OnBeforeUninstall(IDictionary savedState)
public override void Uninstall(IDictionary savedState)
public override object InitializeLifetimeService()
All I need to be able to do is to run that same Process.Start(blah)
when the installer DETECTS THE SAME version, but none of the above
overridden methods get executed... I'm kind of lost in this.
Any help from anyone is appreciated.
Regards,