Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

Change the Order of Custom Pre-Requisites made using Bootstrapper Manifest Generator

Posted: Dec/31/2010   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:61   Vote Up (0)   Vote Down (0)    

Hi All,

I have made custom pre-requisites using Bootstrapper Manifest Generator.  I've used softwares like:

  • Acrobat Reader
  • .Net Framework 3.4, 4.0
  • Google Chrome
  • SQL Server 2008 with Advanced Services

My problem is, the pre-requisites get installed in following order:

 

  1. SQL Server 2008 with Advanced Services
  2. Acrobat Reader
  3. Google Chrome
  4. .Net Framework 3.4, 4.0

I want .Net Framework to b installed first, because SQL Server 2008 would require .Net Framework 3.5 SP1 as pre-requisite and i had to make SILENT install for all these softwares so i've generated all of them using Bootstrapper Manifest generator.

 

Please Help

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Display directory files in descending order

  

I need to retrieve and display directory files in descending order. For example: file-02_01_2010.txt should display before file-01_01_2010. I am using DirectoryInfo.getfile(searchPattern) but that will return files in random order (or maybe ascending order, I am not sure). Is there a way to specify the order in which I need files to be returned? I know I can load them into an array, sort them, etc., etc., but is there any cleaner way?


Custom validator not firing

  

I have the follwoing custom validator and neither the client script nor the server script get hit when I set breakpoints:

function cvComment_ClientValidate(source, args) {debugger
            var cb = document.getElementById('<%=cbDelist.ClientID %>');  
            
            if (cb.checked && args.value == "")
                args.IsValid = false;
            else
                args.IsValid = true;
        }

<asp:CheckBox runat="server" ID="cbDelist" AutoPostBack="true"
        Text="De-List" Value="0"
        oncheckedchanged="cbDelist_CheckedChanged" />

<asp:TextBox ID="tbComment" runat="server" TextMode="MultiLine" Rows="4" Columns="50" Text="" />
 <asp:CustomValidator runat="server" ID="cvComment"
          ControlToValidate="tbComment"
          Display="Dynamic" ErrorMessage="You must state the reason for de-listing this deliverable in the comments section."
          ValidationGroup="vgModDel" onservervalidate="cvComment_ServerValidate" ClientValidationFunction="cvComment_ClientValidate">*</asp:CustomValidator>

<asp:ValidationSummary
                    runat="server"
                    ID="vsModDel"
                    ValidationGroup="vgModDel"
                    EnableClientScript="true"
                    DisplayMode="List"
                    ShowMessageBox="true"
                    ShowSummary="false" />


protected void cvComment_ServerValidate(object source, ServerValidateEventArgs args)
    {
        if (cbDelist.Checked && tbComment.Text.Trim() == string.Empty)
            args.IsValid = false;
        else
            args.IsValid = true;
    }

What am I doing wrong? I can't see it!


Change the values displayed in my gridview

  

The values in one of the fields in my GridView's table are just either a zero or a one or a null. Well, "zero," "one," and "" are not very appropriate values to display to the end user. Is there a way I could change these to "True"/"False"/"NA" or "Yes"/"No"/"NA"?


GridView - Change Row background every 3 rows

  

This should not be to hard but my head is not going for it today

I have a gridview that changes the sales reps name every 3 rows.

The data is group in 3 rows for each rep. estimates, job & invoices each have their own row

I want to change the backgroup for each rep.

I am using C# and I would guess it would be in the code behind file

I got this far but can not remember a way to check the next row to make sure

it is the same of changed from the previous row


protected void gvSaleReport_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
           string prevRep;
           prevRep = e.Row.Cells[0].Text;
           if (prevRep == e.Row.Cells[0].Text)
                e.Row.BackColor = System.Drawing.Color.Blue;
            else
                e.Row.BackColor = System.Drawing.Color.White;
        }
    }


Thanks



detailsview template column control change

  

 Hi,

I HAVE A DETAILSVIEW WITH A DROPDOWNLIST.

I WOULD LIKE TO BE ABLE TO SELECT A VALUE FROM THIS DROPDOWNLIST AND DEPENDING ON THE SELECTEDVALUE DISPLAY A SPECIFIC CONTROL/HEADER IN ANOTHER COLUMN.

HOW CAN THIS BE ACHEIVED?


Change Selected option

  

Hi everyone

Im having some trouble changing the selected option of my select element using JQuery. Im using

$('#select-element').val(integer)

But it is not working. My select element has display: none. I saw someone else was having the same problem with this using display none but there was no answer.

Is the display property affecting this, or am I doing it wrong?

 

Thanks


add or change label value with jQuery

  

Hi,


I have to change a label value with jQuery. For starters it would be empty. Here is the markup:

 <label id="Name"> </label>


I tried the following in the document ready but it didn't work.

$('#Name').val() = "Mike Smith";


Result should be:

<label id="Name"> Mike Smith </label>


Does some know what is missing? Thanks



Change Div Background Onclick (JS, HTML, CSS)

  

 I have only been using HTML/JS/CSS for the last few days, but i am stuck on something that seems like it would be really simple. I have searched through other forums for help but anything i have tried hasn't worked, so I'm guessing there must be something basic i am failing at.

 

Here is a simplified version of my web application (just to demonstrate the bit that wont work): 

 

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Javascript Change Div Background Image</title>

<style type="text/css">

.tab {
background: url('images/blue.gif');
background-repeat:repeat-x;
z-index: 1;
left: 13px;
top: 26px;
position: absolute;
height: 36px;
width: 100px;
}

.fadedtab
{
background: url('images/green.gif');
background-repeat:repeat-x;
z-index: 1;
left: 13px;
top: 26px;
position: absolute;
height: 36px;
width: 100px;
}
ul, li {
list-style-type: none;
}

a:link
{
color:#000000;
text-decoration:none;
}
a:hover
{
color:#ffffff;
text-decoration:underline;
}

</style>

<script type="text/javascript" >

function changeClass(mydiv) {
document.getElementById(mydiv).className = 'fadedtab';
}

</script>

</head>
<body>
<form id="frm_testpage" runat="server">
<div id="div_OrderDetails" class="fadedtab" runat="server">

<ul>
<li style="position:absolute; z-index: 2; top:9px; left:9px;"> <asp:LinkButton ID="lnk_OrderDetails" runat="server"
text="Order Details" onclientclick="changeClass(div_OrderDetails)"/>
</li>
</ul>

</div>
</form>
</body>
</html> 

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Javascript Change Div Background Image</title>

<style type="text/css">

.tab {
background: url('images/blue.gif');
background-repeat:repeat-x;
z-index: 1;
left: 13px;
top: 26px;
position: absolute;
height: 36px;
width: 100px;
}

.fadedtab
{
background: url('images/green.gif');
background-repeat:repeat-x;
z-index: 1;
left: 13px;
top: 26px;
position: absolute;
height: 36px;
width: 100px;
}
ul, li {
list-style-type: none;
}

a:link
{
color:#000000;
text-decoration:none;
}
a:hover
{
color:#ffffff;
text-decoration:underline;
}

</style>

<script type="text/javascript" >

function changeClass(mydiv) {
document.getElementById(mydiv).className = 'fadedtab';
}

</script>

</head>
<body>
<form id="frm_testpage" runat="server">
<div id="div_OrderDetails" class="fadedtab" runat="server">

<ul>
<li style="position:absolute; z-index: 2; top:9px; left:9px;"> <asp:LinkButton ID="lnk_OrderDetails" runat="server"
text="Order Details" onclientclick="changeClass(div_OrderDetails)"/>
</li>
</ul>

</div>
</form>
</body>
</html>

Can I change the default "ASP.NET Web Application" that appears every time I create a new project?

  

I'm using VS2010 and I'm trying to follow along with these videos: http://www.asp.net/general/videos and the guy in the video is using Visual Web Developer Express and when he creates a new website it's all nice and simple with a bare bones Default webpage and that's cool. Well, me in my Visual Studio 2010 when I create a new project I get this elaborate "My ASP.NET Application" page with an About page and a Login page and CSS and Jquery and it's just too, too much. Now, of course I could just create an empty ASP.NET application, but that goes too far the other way; I have to start from scratch and add the default page myself and try to reproduce exactly what the code in the video looks like and I can't really see the screen that well. Is there any way I could change my default template to what the gentleman in the video uses?


How to cast return custom values from stored procedure??

  

Hello

Net.3.5 DD from sql

How to cast return values from stored procedure??

I need to have 2 calculated columns on one of my model partial classes,

On custom prop the values not passing .. cause its not fields.

I have tried to create a new table class on the model and having 2 selects on the usp but still having a casting prob..

So how can I get my "custom calculated column" values from usp  ??


        BizRunDataContext db = new BizRunDataContext();
        IMultipleResults results = db.USP_Orders_GET_TEST1(DateTime.Now);                
        // with out the custom prop
        e.Result = results.GetResult<Order>().ToList<Order>();

-->> tried 

        List<Order> order = results.GetResult<Order>().ToList();
        //class with thet fields->> 
        List<Pricing> obj = results.GetResult<Pricing>().ToList(); //Specified cast is not valid.
        // as if
        order[0].Pricing = obj[0];




 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge