Re: Installation package crashes in Windows Vista

Tech-Archive recommends: Speed Up your PC by fixing your registry



The likely problem is that your code is not running with admin privilege
because of UAC. It doesn't matter whether you're administrator or not
because the custom action code will run with impersonation of the (limited)
administrator installing it. VS setups don't have a way to change this in
the IDE. If you gave them a setup.exe launcher (which will ask for
elevation, then launch the MSI file) it might work. Does your program work
on any OS if not run with admin privilege?

Virtual PC 2007 is free. You don't need hardware to test these kinds of
things, just Vista in a virtual machine on your system.
--
Phil Wilson
[Microsoft MVP-Windows Installer]

"Lonifasiko" <mloichate@xxxxxxxxx> wrote in message
news:1183634337.850256.312510@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I've got a a VS2005 setup project that generates the
corresponding .MSI., which installs all files of my application
without problems in Windows XP machines. This project contains a
CustomAction that launches a console application which writes some
entries inside some XML files depending on what installation directory
the user has selected. That's the "most strange" thing my setup does.

Well, the reason for opening this thread it's because client has moved
to Windows Vista, and when trying to execute the installation package,
he is having problems. The error is as "descriptible" as always:
"There is a problem with this installer package. A program cannot be
executed and it is needed to finish the installation. Contact
Technical support or package provider for further assistance."

The problem is I don't have any machine running Windows Vista so that
I can try setup locally, so would be nice if somebody running problems
in Windows Vista with setup packages could give me some hints.

Thanks very much in advance.



.



Relevant Pages

  • Installation package crashes in Windows Vista
    ... without problems in Windows XP machines. ... entries inside some XML files depending on what installation directory ... That's the "most strange" thing my setup does. ... to Windows Vista, and when trying to execute the installation package, ...
    (microsoft.public.dotnet.framework.setup)
  • Deploying a Project
    ... make a installation package for my application! ... It is very efficient to build up the installation setup file! ...
    (microsoft.public.vsnet.general)
  • SEAGATE SERIAL ATA HD
    ... Windows vista is unable to access my installation. ... My setup does not display this installation. ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: update rollup refuses to unstall on my pc {?}
    ... Condition Check for Line 2 of PreRequisite returned FALSE ... 0.188: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102 ... 0.188: KB925766 Setup hat folgenden Fehler festgestellt: Setup kann nicht ... da eine oder mehrere Anforderungen für die Installation ...
    (microsoft.public.windows.mediacenter)
  • Re: Studying abroad, devastating weird laptop problem
    ... There are two ways to perform a clean installation of Windows Vista. ... The first method is to install Windows Vista by running the Setup program from the current version of Windows on your computer. ... Insert the Windows Vista DVD into the DVD drive and then close the drive tray. ...
    (microsoft.public.windows.vista.general)