PC Review


Reply
Thread Tools Rate Thread

Compile variables for setup package

 
 
Nak
Guest
Posts: n/a
 
      23rd Aug 2004
Hi there,

I have implemented pre-compile variable evaluation in my application to
create a "Demo" version of my application with limited functionality. I
would like to use this easy method within the setup package too, for
example, my "Demo" version cannot load additional plug-ins other than the
ones that are embedded into the application, so I need to be able to
distribute a different plug-in configuration file for both the "Demo" and
"Full" version.

Is it possible to either,

A) Make 2 setup projects, and have each version compile a different
version of the application by changing the global compile variable
"THISISADEMO" to "True" for the "Demo" version and "False" for the "Full"
version. This way I can specify unique configuration files for each setup
package.

or

B) Have the setup project dynamically evaluate this variable and
change the package automatically.

Thanks loads in advance for any helpful tips! Cheers!

Nick.


 
Reply With Quote
 
 
 
 
[MSFT]
Guest
Posts: n/a
 
      24th Aug 2004
Hi Nick,

I think both of them are possible. For solution A, you need to manage two
setup projects but it is not very hard to do this. And it is easy to
understand. For soultion B, you may need to add some code in the Custom
Action of the setup project, evaluate the variable and set different
configration file. This may need more work on the setup project.

Luke

 
Reply With Quote
 
Nak
Guest
Posts: n/a
 
      24th Aug 2004
Hi Luke,

Cheers, I think I shall try solution A then :-) Thanks.

Nick.

"[MSFT]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Nick,
>
> I think both of them are possible. For solution A, you need to manage two
> setup projects but it is not very hard to do this. And it is easy to
> understand. For soultion B, you may need to add some code in the Custom
> Action of the setup project, evaluate the variable and set different
> configration file. This may need more work on the setup project.
>
> Luke
>



 
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
Can I populate variables at compile time? Terry Olsen Microsoft VB .NET 6 20th Oct 2005 03:54 PM
application setup package with .net redist package within =?ISO-8859-1?Q?S=E9rgio_Almeida?= Microsoft Dot NET Framework Forms 1 29th Jun 2004 07:12 PM
application setup package with .net redist package within =?ISO-8859-1?Q?S=E9rgio_Almeida?= Microsoft C# .NET 0 29th Jun 2004 03:22 PM
Re: VS.NET cannot compile when I use std::map variables Carl Daniel [VC++ MVP] Microsoft VC .NET 2 21st May 2004 02:18 PM
Setting variables at Compile Time using #Const Michael Fitzpatrick Microsoft VB .NET 1 27th Feb 2004 09:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:59 PM.