Hi,... I am using VS 2005 to create cutsom action in C++ and the resulting isntaller is working on XP /Vista without problems.
It seems that your custom action Dll is dependent on MFC /CRT dynamic libraries. My Custom Action Dll is using "Standard Windows Libraries" and so I do not need the Dlls to be installed on the system. I think you should remove the CRT/ MFC dependency of your custom action Dll or at least you should use it staticaly linked. (Project Properties->Configuration Properties->General->Use of MFC = "Use MFC in a Static Library") Hope it will help. Stefan Friedrich Dominicus wrote: > Does anyone have written an installer using a custom action written in > C wich MSVC 2005 on Vista? > > What have you done to get this f.... installed on a machine without > MSVC 2005? > > I tried: > 1) adding the files to the installation > 2) integrated things like the crt runtime .msm files with my installer > > fetched the redistributable stuff from > > http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en > > The error message was to use sxstrace. No that's that it showed: > ================= > Startet die Generierung des Aktivierungskontextes. > Eingabeparameter: > Flags = 0 > ProcessorArchitecture = x86 > CultureFallBacks = de-DE;de > ManifestPath = Y:\Windows\Installer\MSICF44.tmp > AssemblyDirectory = Y:\Windows\Installer\ > Application Config File = > ----------------- > INFORMATION: Manifestdatei "Y:\Windows\Installer\MSICF44.tmp" wird analysiert. > INFORMATION: Die ManifestsdefinitionsidentitÀt ist "(null)". > INFORMATION: Verweis: > Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" > INFORMATION: Verweis > "Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"" > wird aufgelöst. > INFORMATION: FÌr ProcessorArchitecture "x86" wird der Verweis > aufgelöst. > INFORMATION: Verweis fÌr Kultur "Neutral" wird aufgelöst. > INFORMATION: Bindungsrichtlinie wird angewendet. > INFORMATION: Sucht nach Herausgeberrichtlinien > in > "Y:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_91939f3c671de810.manifest". > INFORMATION: Es wurde keine > Bindungsrichtlinienumleitung gefunden. > INFORMATION: Startet die Assemblierungssuche. > INFORMATION: Die Assemblierung in WinSxS wurde > nicht gefunden. > INFORMATION: Versuch, ein Manifest unter > "Y:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.762__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL" > zu finden. > INFORMATION: Versuch, ein Manifest unter > "Y:\Windows\Installer\Microsoft.VC80.CRT.DLL" zu finden. > INFORMATION: Versuch, ein Manifest unter > "Y:\Windows\Installer\Microsoft.VC80.CRT.MANIFEST" zu finden. > INFORMATION: Versuch, ein Manifest unter > "Y:\Windows\Installer\Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL" zu finden. > INFORMATION: Versuch, ein Manifest unter > "Y:\Windows\Installer\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST" zu > finden. > INFORMATION: Es wurde kein Manifest fÌr die > Kultur "Neutral" gefunden. > INFORMATION: Beendet die Assemblierungssuche. > FEHLER: Der Verweis > "Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"" > kann nicht aufgelöst werden. > FEHLER: Bei der Generierung des Aktivierungskontextes ist ein Fehler > aufgetreten. > > > teh relevant part is: > FEHLER: Der Verweis > "Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"" > kann nicht aufgelöst werden. > > Read he can not find the proper runtime files. So I'm surly supposed > to get this stuff with the manifests done. Or mayb simply use MSVC 6 > again. > > I'm sorry if I sound harsh, I'm really fed up with all this > f.... hurdles for such thing as installing a Custom action for an > installaion.... > > If you have encountered this stuff and get through, would you mind to > share your findings? > > Regards > Friedrich > > > -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

