Bugs item #1572033, was opened at 2006-10-06 13:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1572033&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Svyatoslav Abramenkov (absolute_sh)
Assigned to: Scott Kurtzeborn (scotk)
Summary: XmlFile - createElement issue

Initial Comment:
If I want to create XML tag at the root location,
ExecXmlFile does nothing, on my look.
So, it's a part of .wxs:

        <File Id="_95634756347853648756436537846534"
LongName="Merge.exe.config" Name="MERGE~1.CON"
KeyPath="no" Vital="yes" Assembly="no" DiskId="1"
Source="SourceDir\bin\release\Merge.exe.config" />
        <XmlFile Id='UserSettingsSetCreate'
File='[INSTALLDIR]Merge.exe.config'
                Action='createElement' Name='CurrentUserSettings'
ElementPath='//' Sequence='1' />

It successfully compiles and install then successully
completes, but there are no tags named
"CurrentUserSettings" in Merge.exe.config after.

Installation log's fragment:

Action 13:02:44: ExecXmlFile. 
MSI (s) (44:60) [13:02:45:009]: Executing op:
CustomActionSchedule(Action=ExecXmlFile,ActionType=3073,Source=BinaryData,Target=ExecXmlFile,CustomActionData=1€Merge.exe.config€4€//€CurrentUserSettings€)
MSI (s) (44:60) [13:02:45:040]: Creating MSIHANDLE (10)
of type 790536 for thread 2656
MSI (s) (44:FC) [13:02:45:056]: Invoking remote custom
action. DLL: C:\WINDOWS\Installer\MSIBF5.tmp,
Entrypoint: ExecXmlFile
MSI (s) (44:FC) [13:02:45:197]: Closing MSIHANDLE (10)
of type 790536 for thread 2656
MSI (s) (44:60) [13:02:45:228]: Executing op:
ActionStart(Name=CreateShortcuts,Description=Creating
shortcuts,Template=Shortcut: [1])
Action 13:02:45: CreateShortcuts. Creating shortcuts
MSI (s) (44:60) [13:02:45:275]: Executing op:
SetTargetFolder(Folder=2\Merge\)
MSI (s) (44:60) [13:02:45:306]:
SHELL32::SHGetFolderPath returned: C:\Documents and
Settings\sabr\Start Menu\Programs
MSI (s) (44:60) [13:02:45:322]: Executing op:
ShortcutCreate(Name=Merge,Feature=DefaultFeature,Component={BE928D51-BCD0-C12C-3FA8-C38C8C0850A2}[~]2,,,WorkingDir=C:\Program
Files\ISD\Merge\,Icon=merge.exe,IconIndex=0,,ShowCmd=1,)

Is any other possibility to create xml element with no
parent or not?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1572033&group_id=105970

-------------------------------------------------------------------------
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-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to