The Microsoft reference on the CreateFolders Actions says "The installer
creates folders both for components that run locally and run from source".
Doesn't this mean CreateFolders is officially approved for use during Admin
Installations? (See below for link)
If the AdminExecuteSequence is inflexible as you imply, the word "Suggested" is
inappropriate.
Certainly, the CreateFolders Action should not be included in the
AdminExecuteSequence "by default".
I see no mention of restrictions in the Microsoft topic "Suggested
AdminExecuteSequence". It's just a table dump actually.
I'm becoming concerned that an expert of your stature, disaproves so strongly.
Have you had problems with this sort of thing?
Bob Arnson wrote:
That's not how an admin installation works: It's essentially just your source
media laid out. MSI enforces restrictions on actions in the
AdminExecuteSequence table; see "Suggested AdminExecuteSequence" for details.
Martin Lavelle wrote:
My intention is to create empty folders during an Admin Installation. The
deployed application can be
ran by multiple users from a network location, or be deployed locally, and the
application requires
empty folders in both scenarios. I'm sorry if that was not clear.
In my opinion the product I am attempting to deploy fits the Admin Image
scenario quite nicely, I'd
be happy to talk about the specifics if you harbour any concerns.
Bob Arnson wrote:
It doesn't matter if WiX permitted it: MSI doesn't. A "run from source" feature
is installed normally
via InstallExecuteSequence, not AdminExecuteSequence; that's just for "admin
installations."
martin lavelle wrote:
I wish to schedule CreateFolders to run in the AdminExecuteSequence, as I am
deploying program whose
behaviour is effected by empty folders.To quote from MSI documentation
(http://msdn.microsoft.com/en-us/library/aa368052(VS.85).aspx) "The installer
creates folders both
for components that run locally and run from source.". I have also tested that
this works correctly.
The current schema will not permit the CreateFolders element to exist in the
AdminExecuteSequence
like so:
<AdminExecuteSequence>
<CreateFolders/>
</AdminExecuteSequence>
Does anyone object to relaxing the schema to allow this?
Is there another way that I can achieve this with WiX?
_________________________________________________________________
Express your personality in color! Preview and select themes for HotmailĀ®.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users