SSIS Execute SSIS Package using HTA Application

SSIS Execute SSIS Package using HTA Application

Save the below code in a text file with.hta extenstion.

<html>

<head>

<title>Test HTML Application - Execute SSIS Package</title>

<script>

function ExecuteSSISPackage()

{

var shell=new ActiveXObject("WScript.Shell");

shell.Run("cmd /K dtexec /f \"C:\\Users\\vlemonn\\Documents\\Visual Studio 2008\\projects\\VariablesSetting\\VariablesSetting\\VariableTest.dtsx\" /SET \"\\Package.Variables[CountryCode].Value\";IND", 1);

}

</script>

</head>

<body>

<input type='button' value='Execute SSIS Package' onclick="ExecuteSSISPackage()"/>

</body>

</html>

0 Comments
Leave A Comment

Please login to post your valuable comments.

Join the newsletter

Get the latest vLemonn news first

share