Have you verified that your XSLT is performing its job properly?  If it's
setting the permanent attribute on every harvested component this would
obviously be the problem.

How are the registry entries a requirement?
If you are installing a 32bit application it can't see the 64-bit registry
hive, so you shouldn't put things into the 64-bit hive.

Have you set the component for the registry entry you want to keep to be
permanent?

Why do you not have the preferences file nested under a directory?
It should be under the ProgramData directory (well a subdirectory under
this).

Have you tried it on a fresh install of Windows?  One in which you haven't
installed anything else?
You should be using VMs to do testing.. since you will need to build up and
tear down lots of different machines during the course of proper testing.

Are you ever performing a Minor Upgrade, or are you performing manual
uninstall then re-install actions with each test?


------------------------------
Date: Wed, 26 Mar 2014 12:45:27 +0530
From: Suvrajyoti Panda <suvrajyo...@contata.co.in>
Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under
        C:\Programdata same as what the user specified in the UI dialogue
To: wix-users@lists.sourceforge.net

Hi Bevan,

As suggested I did the following:

  * Replaced all the manually generated GUID's with "*" except the
    component preferences file as light was giving error for the same
    saying it is not allowed because the component is not nested under a
    directory.
  * Regarding the registry entries, it is as per the requirement.
  * I have performed the installation on a different machine, i have
    tried installing to a different path altogether as well. For
    instance i have tried doing the installation to C:\Energy Solutions
    International\PipelineOptimizer 6.0.0 and also to C:\Energy
    Solutions International\PipelineOptimizer 6.0.0 Test as is my
    requirement.

Below are the observations:

  * All the folders data,db,gui,engine,security still are not removed.
    As per my requirement only the data folder should have stayed as i
    had set the permanent attributes for the component to "yes" using
    XSLT transform while harvesting.
  * All the registry entries got deleted, the registry entry for the
    data directory should have stayed.
  * Also commented out the registry entries then tried to see if there
    is any change, but still the same results
  * Also getting the same message in the log file: Disallowing
    uninstallation of component.

Has it something to do with the remembering of the installation folder as
suggested by Phil Hogland?

Regards,
Suvra Jyoti

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to