PC Review


Reply
Thread Tools Rate Thread

Custom Actions for .NET project setups

 
 
Guest
Posts: n/a
 
      3rd Feb 2004
Hi,

I need to preinstall silently some applications and runtimes (.net
runtimes) before I install my application but want to do this from a .bat
file. I tried to add this as a custom action in the setup project in "Add
files" but its not allowing .bat files. Are .bat files no longer supported
and I have to write a .NET assembly to do such a trivial task? Isnt this
overkill?

Thanks.



 
Reply With Quote
 
 
 
 
Dmitriy Lapshin [C# / .NET MVP]
Guest
Posts: n/a
 
      3rd Feb 2004
Hi,

> I need to preinstall silently some applications and runtimes (.net
> runtimes) before I install my application but want to do this from a .bat


Could you explain in more detail which applications and runtimes are these?

Generally speaking, you have several options:

a) Nested installations (requires manual MSI file tweaking with Orca or MSI
SDK scripts)
b) Bootstrapper application which would install the apps and runtimes first
and your application second
c) An unmanaged EXE or DLL doing the custom installation (possibly requires
manual MSI file tweaking with Orca or MSI SDK scripts)
d) VBScript-based custom action (possibly requires manual MSI file tweaking
with Orca or MSI SDK scripts)

NOTE: I am not sure about c) and d) in the sense whether they are supported
by Visual Studio .NET setup projects. But these options are definitely
supported by Windows Installer

You should probably ask further questions in the
microsoft.public.dotnet.framework.setup or in a Windows Installer/MSI
newsgroups.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I need to preinstall silently some applications and runtimes (.net
> runtimes) before I install my application but want to do this from a .bat
> file. I tried to add this as a custom action in the setup project in "Add
> files" but its not allowing .bat files. Are .bat files no longer

supported
> and I have to write a .NET assembly to do such a trivial task? Isnt this
> overkill?
>
> Thanks.
>
>
>


 
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
how can I add specific custom dictionaries to all users' setups? =?Utf-8?B?TGVzbGll?= Microsoft Word Document Management 2 1st Sep 2006 12:03 AM
Custom actions in deployment project Jonas Bergman Microsoft Dot NET 2 5th Jun 2004 08:05 PM
Debugging A setup project ? how to debug the 'Custom actions' dll functions ? Sagaert Johan Microsoft Dot NET Compact Framework 1 21st May 2004 05:34 AM
Outlook 2003 Custom Forms/Custom Actions Duncan McCreadie Microsoft Outlook Form Programming 3 12th Feb 2004 01:48 PM
Custom Actions for .NET project setups Microsoft Dot NET Framework 1 3rd Feb 2004 03:47 PM


Features
 

Advertising
 

Newsgroups
 


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