A
Alex Clark
Hi,
I'm having some strange problems with a setup project I created in VS2008.
I have been working on v1.3 of my app. I released "beta 1" to a guy to test
it - sent it to him as my Setup.MSI file a couple of weeks ago. Everything
is fine.
I then released "beta 2", compiled it into an MSI file. Increased the
version number in the MSI file, created new package code, all the usual.
Sent it to my tester. It installed absolutely fine for him without any
errors, but when he came to run it, half the binary files hadn't been
updated. The main application exe was still beta 1, as was one of the DLL
files - the other DLLs (and one exe) had all been updated to beta 2 without
any fuss though.
I confirmed this behaviour on a different system. I had installed v1.3
alpha (i.e. before Beta 1) onto a test system. Tried this new installer for
beta 2, and it DID NOT update the main .exe file - it left it as v1.3 alpha.
I have some custom actions in my installer which I thought might possibly
have interfered (it ngen's the files after installing) so I set some
breakpoints and tried to run it from within VS2008 by right clicking on my
setup project and selecting "Install".
Never hit the breakpoints. Not one of them.
Confirmed that I *have* got my custom installer DLL referenced in the Custom
Actions section of my setup project for both install and uninstall.
So can anyone shed any light on this? Why on earth would the installer
decide not to update my main .exe but be happy to update most of my
supporting DLL files? Why can't I debug the custom actions in VS2008?!
Just to make things even more weird, if I did a "repair" on the Beta 2 MSI
file after I'd installed it, that *did* update all files to their beta 2
versions! This is bizarre and inconsistent. Please help me, MS!
Alex
I'm having some strange problems with a setup project I created in VS2008.
I have been working on v1.3 of my app. I released "beta 1" to a guy to test
it - sent it to him as my Setup.MSI file a couple of weeks ago. Everything
is fine.
I then released "beta 2", compiled it into an MSI file. Increased the
version number in the MSI file, created new package code, all the usual.
Sent it to my tester. It installed absolutely fine for him without any
errors, but when he came to run it, half the binary files hadn't been
updated. The main application exe was still beta 1, as was one of the DLL
files - the other DLLs (and one exe) had all been updated to beta 2 without
any fuss though.
I confirmed this behaviour on a different system. I had installed v1.3
alpha (i.e. before Beta 1) onto a test system. Tried this new installer for
beta 2, and it DID NOT update the main .exe file - it left it as v1.3 alpha.
I have some custom actions in my installer which I thought might possibly
have interfered (it ngen's the files after installing) so I set some
breakpoints and tried to run it from within VS2008 by right clicking on my
setup project and selecting "Install".
Never hit the breakpoints. Not one of them.
Confirmed that I *have* got my custom installer DLL referenced in the Custom
Actions section of my setup project for both install and uninstall.
So can anyone shed any light on this? Why on earth would the installer
decide not to update my main .exe but be happy to update most of my
supporting DLL files? Why can't I debug the custom actions in VS2008?!
Just to make things even more weird, if I did a "repair" on the Beta 2 MSI
file after I'd installed it, that *did* update all files to their beta 2
versions! This is bizarre and inconsistent. Please help me, MS!
Alex