all groups > dotnet setup > october 2005 >
You're in the

dotnet setup

group:

Executing code during setup


Re: Executing code during setup Phil Wilson
10/18/2005 8:36:32 AM
dotnet setup:
Custom actions sound like what you need.

http://www.simple-talk.com/2005/06/07/visual-studio-setup/

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

[quoted text, click to view]

Executing code during setup Bala Nagarajan
10/18/2005 9:26:37 AM
Hello,
Is it possible to execute a c# code(like writing some contents to a
new file and deleting a existing file) during the set up? If yes can you
please elucidate on this?


Thanks

-Bala

Re: Executing code during setup (logapurushoth NO[at]SPAM yahoo.co.in)
10/18/2005 10:45:59 PM
Dear bala

1.Open new application vb.net with includint your setup projects.
2.open new interface class (by right click-add new item-installer1.class-ok)
3.overrides the Install(saved state) method
4.Add your code
exp:
crete a file
delete.file(path)
5.Write click the setup project and add the Output of primary Application(your new application output)
6.Compile setup and project solution
7.During installation automatically your action will be executed from install()
exp:give message box.

Regards
Loga


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Re: Executing code during setup Bala Nagarajan
10/24/2005 10:04:33 AM
Guys,
Thanks a lot for helping me out.

-Bala

[quoted text, click to view]

AddThis Social Bookmark Button