all groups > visual studio .net setup > january 2006 >
You're in the

visual studio .net setup

group:

Problem installing MSI with custom action on diff OS


Problem installing MSI with custom action on diff OS pavel.orehov NO[at]SPAM gmail.com
1/9/2006 6:57:18 AM
visual studio .net setup:
Hi,

I am building .Net setup project on WinXP with .Net 2005 VS.

The main task is to run reg file when setup installing.

I have added custom action, which invoke "regedit.exe /S regfilename"
to enter some registry entries on install. In install custom action a
have choosed "regedit.exe" from special "WindowsFolder" and filled the
"Arguments" property with "/S [TARGETDIR]\Reg files\Default.reg".

The msi setup running successfully on WinXP target machine and enter
required registry entries from reg file.


But when i install the same setup on Win2000, setup fails with
following error message:

Product: AppName Framework -- Error 1722. There is a problem with this
Windows Installer package. A program run as part of the setup did not
finish as expected. Contact your support personnel or package vendor.
Action _C2DBE6F2_0EA7_4D19_95F4_A37BC8AE1FEF, location:
C:\WINNT\Installer\MSI4CA.tmp, command: /S "C:\Program
Files\AppName\Reg files\Default.reg"

On Win2000 i have MSI installer version 3.1.

I have tryied to build the setup on Win2000 and install it on WinXP -
successfully.

Only build on WinXP and install in Win2000 the problem occurs.

It looks like it does not found regedit.exe command.

Any ideas ???

And how can know what this action code
(_C2DBE6F2_0EA7_4D19_95F4_A37BC8AE1FEF) means ?

Thanks,
Pavel
Re: Problem installing MSI with custom action on diff OS Phil Wilson
1/9/2006 8:57:17 AM
Duplicate post - ssee platformsdk.msi.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
[quoted text, click to view]

AddThis Social Bookmark Button