Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / December 2004

Tip: Looking for answers? Try searching our database.

Question on rollback custom action.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yolande - 24 Dec 2004 16:21 GMT
Hi there,

When I ran my install package, I tried to click “Cancel” button to test my
Rollback custom actions. I found if I canceled the installation before my
custom actions in the Install stage ran, the installer did rollback but it
did not run my Rollback actions. If I canceled the installation after my
Install actions started, although the installer poped up a message saying
“The installation is not yet complete. Are you sure you want to exit?”, after
I clicked “Yes”, it continued to install other Install actions. And the
install did not react if I clicked “Cancel” again. What shall I do for the
rollback?

Thanks in advance and Merry Christmas.

Yolande
Phil Wilson - 26 Dec 2004 17:10 GMT
A rollback custom action is supposed to be sequenced between
InstallInitialize and InstallFinalize and before the custom action it's
supposed to "undo". So it shouldn't be running all your rollback custom
actions anyway, just the ones that correspond to any install custom actions
that actually ran.

Platformksdk.msi is the best group for this type of question that's nothing
to do with the .NET framework.
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hi there,
>
[quoted text clipped - 15 lines]
>
> Yolande

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.