PC Review


Reply
Thread Tools Rate Thread

Custom actions in deployment project

 
 
Jonas Bergman
Guest
Posts: n/a
 
      4th Jun 2004
After installation, I want to share one of the folders.

First of all, I donīt know how to perform sharing programmatically in a good
way, right now I have a small C#-program that calls "NET.EXE SHARE".

Everything works now, the program is run after the installation.
But I donīt want the program to remain in the application folder. It should
be deleted.

How do I do this?

/Jonas Bergman


 
Reply With Quote
 
 
 
 
Phil Wilson
Guest
Posts: n/a
 
      5th Jun 2004
You should be able to right-click on the code file in the solution explorer
of the setup project and set the Exclude property to True. That will store
the exe in the Binary table of the MSI file, and extract and run it in a
temp folder so that it's not permanently installed.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Jonas Bergman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> After installation, I want to share one of the folders.
>
> First of all, I donīt know how to perform sharing programmatically in a

good
> way, right now I have a small C#-program that calls "NET.EXE SHARE".
>
> Everything works now, the program is run after the installation.
> But I donīt want the program to remain in the application folder. It

should
> be deleted.
>
> How do I do this?
>
> /Jonas Bergman
>
>



 
Reply With Quote
 
Jonas Bergman
Guest
Posts: n/a
 
      5th Jun 2004
Thanks!

/Jonas

"Phil Wilson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You should be able to right-click on the code file in the solution

explorer
> of the setup project and set the Exclude property to True. That will store
> the exe in the Binary table of the MSI file, and extract and run it in a
> temp folder so that it's not permanently installed.
> --
> Phil Wilson
> [MVP Windows Installer]
> Definitive Guide to Windows Installer
> http://apress.com/book/bookDisplay.html?bID=280
>
> "Jonas Bergman" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > After installation, I want to share one of the folders.
> >
> > First of all, I donīt know how to perform sharing programmatically in a

> good
> > way, right now I have a small C#-program that calls "NET.EXE SHARE".
> >
> > Everything works now, the program is run after the installation.
> > But I donīt want the program to remain in the application folder. It

> should
> > be deleted.
> >
> > How do I do this?
> >
> > /Jonas Bergman
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deployment (Custom Actions) Steve Long Microsoft VB .NET 2 14th Jun 2005 07:25 PM
Custom Actions problem in deployment Steve Long Microsoft C# .NET 1 14th Jun 2005 07:22 PM
Custom actions in deployment =?Utf-8?B?UmFqIEt1bWFy?= Microsoft Dot NET Compact Framework 5 12th Oct 2004 12:05 AM
Re: Deployment Projects - Custom Actions Hagay Lupesko Microsoft Dot NET 0 22nd Mar 2004 05:28 PM
Custom Actions in Deployment Neville Lang Microsoft Dot NET Compact Framework 1 22nd Feb 2004 11:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:57 AM.