المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : problem in deployment



C# Programming
09-11-2009, 12:37 PM
I am using Iexpress.exe to package all installation files(setup.exe,msi,.net framework etc) into single exe.

But the exe is not working.

I have created a batch file including following:
@ECHO OFF
CLS
MD dotnetfx
MOVE /-Y dotnetfx.exe dotnetfx
MOVE /-Y instmsia.ext dotnetfx
MOVE /-Y WindowsInstaller-KB893803-v2-x86.exe dotnetfx
EXIT

And selecting batch file,setup.exe and msi file in iexpress.exe for creating package.

Got the single exe but while installation i am getting:

This installation package could not be opened. Verify that the package exists and that you can access it or contact the application vendor to verify that this is a vlaid windows installer package.

And InstallLog file shows:
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.0.1 {version}
Running checks for package '.NET Framework 2.0 (x86)', phase BuildList
Running external check with command 'C:\Users\user\AppData\Local\Temp\VSD12B7.tmp\DotNetFX\dotnetchk.exe' and parameters ''
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '7.0.6001.18000'
Setting value '7.0.6001.18000 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0 (x86)':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 7.0.6001.18000 {string}
Running checks for command 'DotNetFX\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'DotNetFX\instmsia.exe' is 'Bypass'
Running checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'DotNetFX\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'DotNetFX\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0 (x86)' RunCheck result: No Install Needed
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Launching Application.
Running command 'C:\Windows\system32\msiexec.exe' with arguments ' -I "C:\Users\user\AppData\Local\Temp\IXP000.TMP\tes.msi" '


Please give me clue where I am going wrong.

Thanks in Advance
Gtag.