.net - Setup Project in VS2010 migration problems -


i have migrated vs2008 vs2010. installing windows service used breeze , procedure stinks. 1st of all, upgraded setup project result in msi not compatible msi built 2008. 2 reasons actually: component guids changed somewhere, somehow, results in dll's being removed if run msi update (not fresh install, works...sometimes, read on). hey, use postbuild script alter msi, todo installexecutesequence table, no sweat...right. second, 'service allready exists' error, because windows service installing not stopped or removed during update, installer try register service in registry. but, hey, no problem, changed custom action stop service , remove registry entries (last part done ugly starting new process, call sc.exe parameters, without showing console...nice). no errors during upgrade of windows service. yeay, close ticket, move on. not fast: because service not stopped before files copied, system has rebooted finish install when service allready running. our customers have reboot theire entire server resulting in downtime of running processes? unacceptable of course.

nice job ms, never problem vs2008! did try test making installer windows service? sure hope you're reading this...

enough complaining, have deadlines make: how service stopped before files copied? moving around items in installexecutesequence table of msi? know ones? or know of ms fix setup projects solves problems?

scrap vs setup project , move on wix. did after having suffered years vs's setup projects, , spent less day on getting wix project polished , production-ready.

you can start reverse-engineering existing .msi wix project, edit manually , change wix ui dialogs , apply human readable names instead of long guid-like things vs installer project msis.

download 3.5 (current stable release of jan 2011) http://wix.codeplex.com/ - you'll never back.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -