Re: [WiX-users] Need to set a registry value owned by anther product

2006-11-28 Thread André Pönitz
Harvey Werner wrote:
> I tried the following. It works for the install, but on 
> uninstall it removes ProgramArguments from the registry which 
> is obviously not what I want. I just want to set it's value 
> to null and leave it alone.
>  
>   Key="SOFTWARE\\\service\Started Processes\dlm"  
> Name="ProgramArguments" Type="string" Value=" " Action="write" />
> 
>  
> How is this done?

I'd try a custom action:

 
 

In the InstallExecuteSequence:

  some condition

and in ca.c

#include 
#include 


//The SDK is clear: the signature of a custom action should be:
//UINT __stdcall CustomAction( MSIHANDLE hInstall )



//_tcslen strlen strlen wcslen

__declspec(dllexport) int write_helper(wchar_t * key, wchar_t * cmd, int seq)
{
  HKEY hk;
  DWORD dwDisposition;
  RegCreateKeyEx(HKEY_LOCAL_MACHINE, key, 0, L"", 0, KEY_READ | KEY_WRITE, 
NULL, &hk, &dwDispos
  RegSetValueEx(hk, L"Sequence", 0, REG_DWORD,  (LPBYTE)&seq, 
(DWORD)sizeof(seq));
  RegSetValueEx(hk, L"InstallCommand", 0, REG_SZ, (LPBYTE)cmd,  
(DWORD)(wcslen(cmd)+1)*sizeof(w
  RegCloseKey(hk);
  return 0;
}

__declspec(dllexport) int write_key()
{
  return write_helper(
L"Software\\...\\..\\...",
L"your value",
100
  );
}

Something like that used to work for me in a similar case.
Might be complete overkill, though...

Andre'

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] he cabinet 'setup.cab' does not contain any files. If this installation contains no files, this warning can likely be safely ignored. Otherwise, please add files to the cabinet or remo

2006-11-28 Thread André Pönitz
> Rob Mensching wrote:
> Was this issue ever figured out?


 

Wouldn't the 'EmbedCab = "yes"' stanza be responsible for
such a 'warning'?

Andre'

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Error text - with new line

2006-11-28 Thread Stefan Pavlik
Unfortunately the Deferred custom action does not have acces to the
installation database.

So the solution is to have several Custom actions:
1) Immediate custom action that will read the text from Error Table,
parse it (replace the specified sequence with new line characters)
and write the fixed string into some property.

2) Immediate custom action that will prepare the string from 1) for
reading in deferred custom action (CustomActionData)

3) Deferred custom action that will read (and use) the
CustomActionData property.

Hope that it will help somebody.

Stefan

Stefan Pavlik wrote:
> I have already found some interesting thing.
> 
> The function
> MsiProcessMessage(hInstall,
> INSTALLMESSAGE(INSTALLMESSAGE_USER|MB_OK), hRecord)
> can use two forms of hRecord.
> 
> If you use
> MsiRecordSetInteger(hRecord,1,uiErrorID)
> then the string is taken from Error table and cannot use the \r\n
> (new line). It is basicaly because the \r\n sequence is represented
> as four characters ('\','r','\','n').
> 
> But if you use
> MsiRecordSetInteger(hRecord,0,"Text with \r\n newline")
> then the text is displayed with new line in place of \r\n.
> 
> One possible solution I see is to t\retrieve the text for specified
> ErrorID from Error table and replace the \r\n (4 characters)
> characters with \r\n (two characters).
> 
> 
> Hope that it will help somebody.
> 
> Stefan
> 
> Rob Hamflett wrote:
>> You can't force newlines.  I had to resort to creating multiple text 
>> controls.
>>
>> Rob
>>
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Deffered CA - MsiGetActiveDatabse()

2006-11-28 Thread Stefan Pavlik
Hi.
Thanks for answer.


Bob Arnson wrote:

> Stefan Pavlik wrote:
>> I want to read the string from Error table from deffered custom action.
>> Is it normal (correct) that the function
>> MsiGetActiveDatabase(hInstall) returns always zero?
>>   
> 
> Yes. See http://msdn2.microsoft.com/en-gb/library/aa370543.aspx for
> details. You can use MsiProcessMessage to throw an error message that
> automatically reads and formats the string from the Error table.

Yes it is possible but it is not possible to use \r\n (CRLF,
newline) character sequence in the Error Table.
See thread "Custom Error text - with new line".


Thanks anyway

Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ConfigureSQL Bug

2006-11-28 Thread Michael Osmond
Hello Rob and All,
 
I have a sort of reproducible case of ConfigureSql MSIHandle leaking
error.   I understand this one has not been found
 
The error shows up as the following log output:
 
  MSI (s) (BC:48) [10:05:24:840]: Doing action: ConfigureSql
  Action 10:05:24: ConfigureSql. Configuring SQL Server
  Action start 10:05:24: ConfigureSql.
  MSI (s) (BC:6C) [10:05:24:900]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI48.tmp, Entrypoint: ConfigureSql
  MSI (s) (BC:6C) [10:05:25:593]: Leaked MSIHANDLE (393) of type 790531
for thread 1228
  MSI (s) (BC:6C) [10:05:25:593]: Leaked MSIHANDLE (392) of type 790531
for thread 1228
  MSI (s) (BC:6C) [10:05:25:593]: Leaked MSIHANDLE (381) of type 790540
for thread 1228
  MSI (s) (BC:6C) [10:05:25:593]: Leaked MSIHANDLE (380) of type 790540
for thread 1228
  MSI (s) (BC:6C) [10:05:25:593]: Leaked MSIHANDLE (318) of type 790541
for thread 1228
  MSI (s) (BC:6C) [10:05:25:593]: Note: 1: 2769 2: ConfigureSql 3: 5 
  DEBUG: Error 2769:  Custom Action ConfigureSql did not close 5
MSIHANDLEs.
  Internal Error 2769. ConfigureSql, 5
  Action ended 10:05:25: ConfigureSql. Return value 3.
 
I am using WIX 2.0.4415.0 
 
What can I tell you about it:
1.  In my case its occuring during a major upgrade during the
installation of the new version.
2.  It is not a hard problem.  On our main test server (where we needed
to get the install completed so the testers could work) it was occuring
95% of the time.  On a second test server about 50% of the time and on a
development PC (with IDE etc) only ever once.
3.  I cannot get a consistent pattern to bringing the problem on.  Some
times a reboot will clear the problem, other times it occurs straight
after a reboot.
4.  On the 2nd test server it was more likely to occur if the MSI was
accessed from a UNC path rather than local.  But again this was not
consistent.
5.  I tried to debug the custom action (I was using the Remote debug
tools in VS2003 to attach to the test server).  But when I used a DLL
that allowed debugging the error would not occur.   Its almost as if the
problem is to do with timing (the test servers are both Virtual
Machines).
 
However.  It does appear to be happening in the inital part of the
Custom Action, before it begins scripting the deferred custom actions.
Next is the relevant snippet of the log if the error does not occur:
 
  MSI (s) (4C:18) [08:50:43:250]: Doing action: ConfigureSql
  Action 8:50:43: ConfigureSql. Configuring SQL Server
  Action start 8:50:43: ConfigureSql.
  MSI (s) (4C:CC) [08:50:43:311]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI102.tmp, Entrypoint: ConfigureSql
  MSI (s) (4C!08) [08:50:56:163]: PROPERTY CHANGE: Adding CreateDatabase
property. Its value is 'DBSQL2?PERM-WIN2K3??CINS?1?1???0?0'.
  MSI (s) (4C!08) [08:50:56:183]: Doing action: CreateDatabase
  Action 8:50:56: CreateDatabase. Creating Databases
  Action start 8:50:56: CreateDatabase.
  1: Creating Databases 
  Action ended 8:50:56: CreateDatabase. Return value 1.
  MSI (s) (4C!08) [08:50:56:244]: PROPERTY CHANGE: Adding
ExecuteSqlStrings property. Its value is
'sqlserver_Master?PERM-WIN2K3??master?-2147483648?
1???SingleUser_RI?17?alter database CINS set SINGLE_USER With Rollback
Immediate?backup_RI?17?backup database CINS to
disk='C:\DOCUME~1\ADMINI~1.TES\LOCALS~1\Temp\CINS.bak' with INIT'.
  MSI (s) (4C!08) [08:50:56:254]: Doing action: ExecuteSqlStrings
  Action 8:50:56: ExecuteSqlStrings. Executing SQL Strings
  Action start 8:50:56: ExecuteSqlStrings.
  1: Executing SQL Strings 
  Action ended 8:50:56: ExecuteSqlStrings. Return value 1.
  MSI (s) (4C!08) [08:50:56:305]: PROPERTY CHANGE: Adding
RollbackExecuteSqlStrings property. Its value is
'sqlserver_Master?PERM-WIN2K3??master?-
2147483648?1???restore_singleUser_RI?25?alter database CINS set
SINGLE_USER With Rollback Immediate?restore_drop_RI?25?drop database
CINS?restore_cmd_RI?25?restore database CINS from
disk='C:\DOCUME~1\ADMINI~1.TES\LOCALS~1\Temp\CINS.bak'?multiUserRB_RI?25
?alter database CINS set MULTI_USER'.
  MSI (s) (4C!08) [08:50:56:326]: Doing action:
RollbackExecuteSqlStrings
  Action 8:50:56: RollbackExecuteSqlStrings. Rolling back SQL Strings
  Action start 8:50:56: RollbackExecuteSqlStrings.
  1: Rolling back SQL Strings 
  Action ended 8:50:56: RollbackExecuteSqlStrings. Return value 1.
 
I am happy to help further in getting to the bottom of this, but am
unsure what you need further.
 
Michael
 
 
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] USA February ndash developers

2006-11-28 Thread current trial

Virus scanning support reject infected. Mode if, yoursquore business have use 
private.
Kazaafast brandedpp program enables, major. Added surprises whatrsquos, invite 
us. Market brand so ftware, customize! Software that kazaa employees can love 
unlike.
Friends when you run. Reach them razorpops flagship consumer product leading. 
Results all added surprises whatrsquos.
Download from web, ldquomany people work, sharman, developer. You run pe rsonal 
mode if yoursquore. Ftware customize whether open closed whatever.
Filtering third party required, properties toppp legal. Ldquowell duhrdquo 
proclaimed founder ceo ldquotheir secret out does.
All added surprises whatrsquos invite us. Same more, bd search, results all 
added surprises?
Bit torrent gnutella download.
Adware, and accesses multiple networks dallas usa! Terms emule comet well 
compatible start sites anyplace. Against details, con cerns about including 
slowing down user?
Technology quot was released as part? Infected optimized broadband dialup!
Toppp legal writes blog at.
Love, unlike has, no bundled or.
For users similar free uses fast track. Details con cerns about including 
slowing, down user. Uses fast track, network accessed by, grokster imesh.
Advisory privacy terms emule comet, well, compatible.

contains.gif
Description: GIF image
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstalling while application is running

2006-11-28 Thread Wilson, Phil
Jumping in late here
 
It's not at all clear to me that a reboot is supposed to be asked for in
these situations, even though the log will have text about a reboot
being necessary. I honestly don't recall reboot requests out of
uninstalls except when they were explicitly added. This is what I see on
Vista and Server 2003 SP1.  
 
1) An uninstall of a running program with a top level window prompts for
the user to shut it down and says (on Vista) that if you don't shut it
down then a reboot will be necessary. Server 2003 SP1 just has an
"Ignore" choice to ignore the running app. Proceeding with the program
running does not ask for a reboot at the end of the uninstall on either
OS. 
 
2) Uninstalling a running program without a top level window just
uninstalls without any "in use" dialogs, and again the log has entries
saying a reboot will be necessary etc etc, but no reboot is asked for. 
 
As I say, I believe this is what previous versions of MSI did, and my
tests confirm this for a somewhat limited set of OS versions.  It's
always been my impression that uninstalls show a dialog to close apps if
there's a top level window, but don't explicitly ask for a reboot just
for an in use condition. If you care that an MSI reboot is pending, then
use the MSI 4.0 MsiSystemRebootPending property. It tells you if there's
a MSI reboot pending and can be used as a launch condition, and I
confirmed that it is set to 1 in subsequent installs where a previous
uninstall required file removal as described above. 
 
Phil Wilson 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Lalande
Sent: Tuesday, November 21, 2006 4:59 PM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Uninstalling while application is running


If it makes any difference, this is a .Net application.  Furthermore, I
seem to remember the same issue existed in our InstallShield-based
installer as well.


On 11/21/06, Rob Mensching <[EMAIL PROTECTED]> wrote: 

I'm at a loss then.  The log file message you note below is what
I would expect to see when a file is in use.  Is there maybe something
more about the files in use in the log file?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Lalande
Sent: Tuesday, November 21, 2006 15:30
To: Rob Mensching
Cc: Bob Arnson; wix-users@lists.sourceforge.net 

Subject: Re: [WiX-users] Uninstalling while application is
running



 

I am not *explicitly* suppressing any dialogs.  I have tried
uninstalling by right-clicking the MSI and selecting uninstall from the
context menu, I have tried uninstalling from the Add/Remove Programs
applet, and at Bob's suggestion I uninstalled using the command line
(misexec /x ...) so that I could log the uninstall.  All result in the
same behavior. 

On 11/21/06, Rob Mensching <[EMAIL PROTECTED]> wrote:

You shouldn't need a custom action.  If a file was in use then
the Windows Installer should prompt for install.  How are you
uninstalling the product?  Is it possible that you are suppressing the
dialog that would tell you a reboot is required?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Lalande
Sent: Tuesday, November 21, 2006 14:29
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Uninstalling while application is
running

 

Does my installer have to explicitly do something to reboot if
the files are in use?  Is there a custom action I should be inserting
into my uninstall sequence?

This is a major bug in my installer.

On 11/21/06, John Lalande <[EMAIL PROTECTED]> wrote:

I have logged the uninstall, however I am not sure what I should
be looking for.

I see several entries similar to:
"FileX.dll is being held in use by the following process:
...Name: AppX, Id: 4284, Window Title: '(not determined yet)'. Close
that application and retry." 

Is there somthing in particular I should look for?

 

On 11/21/06, Bob Arnson < [EMAIL PROTECTED]  >
wrote: 

John Lalande wrote:
> In this scenario, shouldn't the user be prompted to reboot and
then 
> the files removed on the reboot?  Or did I fail to do
something
> important when I write the installer?

Yes, you should have gotten a reboot prompt. Check a verbose log
-- MSI
logs additional data when files are in use. 

--
sig://boB
http://bobs.org

 

 

 


-
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 

[WiX-users] Hiding a Feature

2006-11-28 Thread Magus

If I wanted a feature to not be displayed when the User gets to the feature
List view, is there a way to not show it.  I want 2 seperate feature list
depending on the ACTIONS of the installer.  If its installing I want this
set to be displayed, but if they are uninstalling I want there to be other
feature options to be diplsayed. 
-- 
View this message in context: 
http://www.nabble.com/Hiding-a-Feature-tf2721987.html#a7590911
Sent from the wix-users mailing list archive at Nabble.com.


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Need to set a registry value owned by anther product

2006-11-28 Thread Harvey Werner
I need to set a registry value to null on a key that was created during
the install of another product's msi. How do I do that?
 
I tried the following. It works for the install, but on uninstall it
removes ProgramArguments from the registry which is obviously not what I
want. I just want to set it's value to null and leave it alone.
 


 
How is this done?
 
--
Harvey Werner / [EMAIL PROTECTED]
 
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] RemoveFiles/RemoveFolder

2006-11-28 Thread Magus

If I make save files and folders after the installation, I use the Property
attribute to specify the location of those files.  What would be the best
way about setting of that property to contain the correct path, if the user
can have multiple folders to save to.  Like having character folders for a
game. Bob folder contains Bob files, Tim folder contains Tim files and ect. 
If I cannot determine how many folders or the exact names of each folder
what do I do?
-- 
View this message in context: 
http://www.nabble.com/RemoveFiles-RemoveFolder-tf2721903.html#a7590607
Sent from the wix-users mailing list archive at Nabble.com.


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] he cabinet 'setup.cab' does not contain any files. If this installation contains no files, this warning can likely be safely ignored. Otherwise, please add files to the cabinet or remo

2006-11-28 Thread Rob Mensching
Was this issue ever figured out?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ogden Ogly
Sent: Monday, November 06, 2006 15:21
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] he cabinet 'setup.cab' does not contain any files. If this 
installation contains no files, this warning can likely be safely ignored. 
Otherwise, please add files to the cabinet or remove it.

Hi, I am evaluating Wix (3.0.211.0) and am having a hell of a 
time... I get the following error when verbose mode is turned on:
The cabinet 'setup.cab' does not contain any files.  If this installation 
contains no files, this warning can likely be safely ignored.  Otherwise, 
please add files to the cabinet or remove it.

It seems like some element linking the cab and  files doesn't exist ... but 
I'll be damned if I can figure out what that is.  Any help would be appreciated
 Here is the source to my WXS file:

http://schemas.microsoft.com/wix/2006/wi";>
  http://2.0.0.0>" >








  

  

  
  
  
  
  
  
  
  

  

  





  


  

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File attributes - how to set "Archive" bit?

2006-11-28 Thread Rob Mensching
It's a strange requirement and you'll have to use a CustomAction.  You might 
look at the secureobj.cpp code to see how best to do that since SecureObj can 
change things that were just installed.  Non-trivial amount of work to do 
correctly.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorne Laliberte
Sent: Tuesday, November 28, 2006 14:58
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] File attributes - how to set "Archive" bit?


Thanks Mike. I'm not using the attribute directly, but I do need to be
able to clear or set it. This is for an internal project so I'm not sure
what I can say publically, but one of the requirements is control over
all of the destination file attributes.

...Lorne Laliberte

> -Original Message-
> From: Mike Dimmick [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 28, 2006 4:47 PM
> To: Lorne Laliberte; wix-users@lists.sourceforge.net
> Subject: RE: [WiX-users] File attributes - how to set "Archive" bit?
>
> As far as I know, the Archive bit is typically only used by backup
> applications to determine if a file has changed since the
> last time it was
> backed up. The OS automatically sets the archive bit when files are
> modified. Backup tools clear it when the file has been backed up.
>
> If you're trying to give any other semantics to the Archive
> bit, the OS will
> break them.
>
> I believe, but haven't checked, that the Archive bit will
> therefore be set
> for any files created or modified by Windows Installer during an
> installation.
>
> --
> Mike Dimmick
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lorne
> Laliberte
> Sent: 28 November 2006 22:11
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] File attributes - how to set "Archive" bit?
>
> Hello list!
>
> How do you set the "Arhive" attribute for a file?
>
>  has ReadOnly, Hidden, and System XML attributes...but
> Archive is
> rejected by candle.exe.
>
> The MSI file table doesn't offer any suggestions either.
>
> Do we need to use a custom action to do this?


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File attributes - how to set "Archive" bit?

2006-11-28 Thread Lorne Laliberte
 
Thanks Mike. I'm not using the attribute directly, but I do need to be
able to clear or set it. This is for an internal project so I'm not sure
what I can say publically, but one of the requirements is control over
all of the destination file attributes.

...Lorne Laliberte

> -Original Message-
> From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 28, 2006 4:47 PM
> To: Lorne Laliberte; wix-users@lists.sourceforge.net
> Subject: RE: [WiX-users] File attributes - how to set "Archive" bit?
> 
> As far as I know, the Archive bit is typically only used by backup
> applications to determine if a file has changed since the 
> last time it was
> backed up. The OS automatically sets the archive bit when files are
> modified. Backup tools clear it when the file has been backed up.
> 
> If you're trying to give any other semantics to the Archive 
> bit, the OS will
> break them.
> 
> I believe, but haven't checked, that the Archive bit will 
> therefore be set
> for any files created or modified by Windows Installer during an
> installation.
> 
> -- 
> Mike Dimmick
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lorne
> Laliberte
> Sent: 28 November 2006 22:11
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] File attributes - how to set "Archive" bit?
> 
> Hello list!
> 
> How do you set the "Arhive" attribute for a file?
> 
>  has ReadOnly, Hidden, and System XML attributes...but 
> Archive is
> rejected by candle.exe.
> 
> The MSI file table doesn't offer any suggestions either.
> 
> Do we need to use a custom action to do this?


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File attributes - how to set "Archive" bit?

2006-11-28 Thread Mike Dimmick
As far as I know, the Archive bit is typically only used by backup
applications to determine if a file has changed since the last time it was
backed up. The OS automatically sets the archive bit when files are
modified. Backup tools clear it when the file has been backed up.

If you're trying to give any other semantics to the Archive bit, the OS will
break them.

I believe, but haven't checked, that the Archive bit will therefore be set
for any files created or modified by Windows Installer during an
installation.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lorne
Laliberte
Sent: 28 November 2006 22:11
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] File attributes - how to set "Archive" bit?

Hello list!

How do you set the "Arhive" attribute for a file?

 has ReadOnly, Hidden, and System XML attributes...but Archive is
rejected by candle.exe.

The MSI file table doesn't offer any suggestions either.

Do we need to use a custom action to do this?



-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File attributes - how to set "Archive" bit?

2006-11-28 Thread Rob Mensching
0.  Please keep discussions on the mailing list for everyone to see (especially 
archival).

1.  There is a lot of discussion about the difficulties in generating .wxs 
files in the archive.  Beware.

2.  I'm curious why the Archive bit is interesting.

-Original Message-
From: Lorne Laliberte [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 14:18
To: Rob Mensching
Subject: RE: [WiX-users] File attributes - how to set "Archive" bit?

> Yes.  Why do you need to do this?

I'm automating the .wxs creation and need to provide control over all of
the destination file attributes.

...Lorne Laliberte

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File attributes - how to set "Archive" bit?

2006-11-28 Thread Rob Mensching
Yes.  Why do you need to do this?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorne Laliberte
Sent: Tuesday, November 28, 2006 14:11
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] File attributes - how to set "Archive" bit?

Hello list!

How do you set the "Arhive" attribute for a file?

 has ReadOnly, Hidden, and System XML attributes...but Archive is
rejected by candle.exe.

The MSI file table doesn't offer any suggestions either.

Do we need to use a custom action to do this?

...Lorne Laliberte

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] File attributes - how to set "Archive" bit?

2006-11-28 Thread Lorne Laliberte
Hello list!

How do you set the "Arhive" attribute for a file?

 has ReadOnly, Hidden, and System XML attributes...but Archive is
rejected by candle.exe.

The MSI file table doesn't offer any suggestions either.

Do we need to use a custom action to do this?

...Lorne Laliberte

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] vc8 redistributables

2006-11-28 Thread Rob Mensching
We had a wiki.  Nobody stepped up to maintain it.  It got covered with spam.  
So we took it down.  We then created a tracker on SourceForge where people can 
put samples.  There's like one or two.

-Original Message-
From: John Calcote [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 13:54
To: Scott Palmer; Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] vc8 redistributables

Scott,

Thanks a lot! This example code is better than I hoped for.

BTW to Rob: Do you think WiX could add a Wiki to their web site? I would love 
to add snippets of code like this, and I think it would help others who need to 
do similar things.

Thanks,
John

>>> "Scott Palmer" <[EMAIL PROTECTED]> 11/28/2006 1:37 PM >>>
On 11/28/06, John Calcote <[EMAIL PROTECTED]> wrote:
>
> Can anyone point me to some docs that describe how to incorporate an MSM
> into my Wix installer?
>
> I would like to incorporate the vc8 redistributable package into my WIX
> MSI, but I don't have a clue how to do that.
>

I'm not 100% certain that I'm doing it right, but I use:



  
  
  
  
...

Then add as sub-features to my main program:
  


  

  


  

This causes ICE warnings about duplicate sequence numbers, but it seems they
are unavoidable and harmless.

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] vc8 redistributables

2006-11-28 Thread John Calcote
Scott,

Thanks a lot! This example code is better than I hoped for. 

BTW to Rob: Do you think WiX could add a Wiki to their web site? I would love 
to add snippets of code like this, and I think it would help others who need to 
do similar things.

Thanks,
John

>>> "Scott Palmer" <[EMAIL PROTECTED]> 11/28/2006 1:37 PM >>>
On 11/28/06, John Calcote <[EMAIL PROTECTED]> wrote:
>
> Can anyone point me to some docs that describe how to incorporate an MSM
> into my Wix installer?
>
> I would like to incorporate the vc8 redistributable package into my WIX
> MSI, but I don't have a clue how to do that.
>

I'm not 100% certain that I'm doing it right, but I use:



  
  
  
  
...

Then add as sub-features to my main program:
  


  

  


  

This causes ICE warnings about duplicate sequence numbers, but it seems they
are unavoidable and harmless.

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] vc8 redistributables

2006-11-28 Thread Rob Mensching
Those particular ICE warnings are caused by mergemod.dll (provided by the 
Windows Installer team, grr) and are as you say "unavoidable and harmless".

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Palmer
Sent: Tuesday, November 28, 2006 12:37
To: John Calcote
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] vc8 redistributables


On 11/28/06, John Calcote <[EMAIL PROTECTED]> wrote:
Can anyone point me to some docs that describe how to incorporate an MSM into 
my Wix installer?

I would like to incorporate the vc8 redistributable package into my WIX MSI, 
but I don't have a clue how to do that.

I'm not 100% certain that I'm doing it right, but I use:



  
  
  
  
...

Then add as sub-features to my main program:
  


  

  


  

This causes ICE warnings about duplicate sequence numbers, but it seems they 
are unavoidable and harmless.
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] vc8 redistributables

2006-11-28 Thread Scott Palmer

On 11/28/06, John Calcote <[EMAIL PROTECTED]> wrote:


Can anyone point me to some docs that describe how to incorporate an MSM
into my Wix installer?

I would like to incorporate the vc8 redistributable package into my WIX
MSI, but I don't have a clue how to do that.



I'm not 100% certain that I'm doing it right, but I use:

   

 
 
 
 
...

Then add as sub-features to my main program:
 
   
   
 

 
   
   
 

This causes ICE warnings about duplicate sequence numbers, but it seems they
are unavoidable and harmless.
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] vc8 redistributables

2006-11-28 Thread Rob Mensching
Check out the Merge and MergeRef element in WiX documentation.  It acts a lot 
like a Component element.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Calcote
Sent: Tuesday, November 28, 2006 11:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] vc8 redistributables

Can anyone point me to some docs that describe how to incorporate an MSM into 
my Wix installer?

I would like to incorporate the vc8 redistributable package into my WIX MSI, 
but I don't have a clue how to do that.

Thanks in advance,
John

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] vc8 redistributables

2006-11-28 Thread John Calcote
Can anyone point me to some docs that describe how to incorporate an MSM into 
my Wix installer?

I would like to incorporate the vc8 redistributable package into my WIX MSI, 
but I don't have a clue how to do that.

Thanks in advance,
John

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebDir element - no longer can contain webapplication?

2006-11-28 Thread Dana Gutride

Thanks for the clarification.  I did figure out a way to do this with WiX
(in case anybody else stumbles upon this message).  By changing the alias to
match the correct location of the folder, you can create a virtual directory
at this location as well as a web application.

  
   
 

I also found documentation at
http://www.microsoft.com/mind/1099/inside/inside1099.asp that states: An IIS
application is defined as the contents of a virtual directory with execute
permissions.

Dana

On 11/28/06, Rob Mensching <[EMAIL PROTECTED]> wrote:


 I used to expect the IIS MMC to be the authoritative way of configuring
things as well.  The more questions I asked the less clear it became exactly
how authoritative the MMC really is.  The current restriction came from
David Wang (http://blogs.msdn.com/david.wang/default.aspx) when he
mentioned that creating a web application on a web directory is not really
supported.  David knows far more about IIS than I do (being on the IIS team
and all) so I took that as gospel.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Dana Gutride
*Sent:* Tuesday, November 28, 2006 07:29
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] WebDir element - no longer can contain
webapplication?



We recently encountered this problem as well.  There is an old message
(here: 
http://www.nabble.com/WebDir-element---no-longer-can-contain-webapplication-tf851560.html#a2280481
) about it.  From the IIS MMC, you can make any directory a web
application.  In the metabsae, it creates any IISConfigObject elements for
the directories above and then the web directory elements are created with
the relevent app names in them.  Does anybody have any information about why
the IIS team at Microsoft says this isn't supported?  It seems odd that you
can do this in the IIS MMC, but not in WiX.

Dana

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Automatic repair during install

2006-11-28 Thread Bob Arnson

Fanshteyn, Timur wrote:


Default REINSTALLMODE of omus did not replace the file as expected. I 
would like to be able to run identical command line every time to 
either install the package, or to correct a problem with a prior install.




You can accomplish that by supporting major upgrades. That would let MSI 
uninstall and reinstall your app. See the tutorial about it at 
http://www.tramontana.co.hu/wix/lesson4.php.


--
sig://boB
http://bobs.org

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Automatic repair during install

2006-11-28 Thread Rob Mensching
You could author the REINSTALLMODE Property into your MSI.  That might force it 
to always replace all files.  That is a very dangerous thing to do in general, 
because I believe you can downgrade files.  You have to be very certain you are 
installing only your files.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fanshteyn, Timur
Sent: Tuesday, November 28, 2006 09:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Automatic repair during install

I have a server installation - no UI , installs a service on server. How can I 
have the MSI package repair the installation during install.

Here is a scenario:

Install package
Modify one of the files that was installed (using notpad for example)
Rerun the installation

I would like the installation replace the changed file with the original. The 
only way that I was able to do this is by specifying REINSTALL=ALL REINSTALL 
REINSTALLMODE=amus

Default REINSTALLMODE of omus did not replace the file as expected. I would 
like to be able to run identical command line every time to either install the 
package, or to correct a problem with a prior install.

Timur Fanshteyn
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebDir element - no longer can contain webapplication?

2006-11-28 Thread Rob Mensching
I used to expect the IIS MMC to be the authoritative way of configuring things 
as well.  The more questions I asked the less clear it became exactly how 
authoritative the MMC really is.  The current restriction came from David Wang 
(http://blogs.msdn.com/david.wang/default.aspx) when he mentioned that creating 
a web application on a web directory is not really supported.  David knows far 
more about IIS than I do (being on the IIS team and all) so I took that as 
gospel.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride
Sent: Tuesday, November 28, 2006 07:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WebDir element - no longer can contain webapplication?

We recently encountered this problem as well.  There is an old message (here: 
http://www.nabble.com/WebDir-element---no-longer-can-contain-webapplication-tf851560.html#a2280481
 ) about it.  From the IIS MMC, you can make any directory a web application.  
In the metabsae, it creates any IISConfigObject elements for the directories 
above and then the web directory elements are created with the relevent app 
names in them.  Does anybody have any information about why the IIS team at 
Microsoft says this isn't supported?  It seems odd that you can do this in the 
IIS MMC, but not in WiX.

Dana
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-28 Thread Bob Arnson

Jeff MacDuff wrote:


Does anyone else have a method to install to a directory that isn't a 
"named" directory?


 

Surely I can somehow set the path based on environment variable? Is 
there a expand method within wix?




Use a custom action. @Property/@Value formats the value so you can use 
[%envVar] to refer to an environment variable.


--
sig://boB
http://bobs.org

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-11-28 Thread Bob Arnson

aparna wrote:
I am using the following code and am unable to create all the required 
entries:


What doesn't work?

--
sig://boB
http://bobs.org

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Automatic repair during install

2006-11-28 Thread Fanshteyn, Timur
I have a server installation - no UI , installs a service on server. How
can I have the MSI package repair the installation during install. 

 

Here is a scenario:

 

Install package 

Modify one of the files that was installed (using notpad for example)

Rerun the installation

 

I would like the installation replace the changed file with the
original. The only way that I was able to do this is by specifying
REINSTALL=ALL REINSTALL REINSTALLMODE=amus

 

Default REINSTALLMODE of omus did not replace the file as expected. I
would like to be able to run identical command line every time to either
install the package, or to correct a problem with a prior install.

 

Timur Fanshteyn

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-28 Thread Rob Hamflett
If you give the directory an ID with all uppercase letters, you can treat it as 
a property.  This 
means you can use RegSearch or a custom action to get hold of the env var 
value, and then use a 
custom action to set the directory property to that value.  Everything 
downstream of that directory 
then gets resolved correctly too.

Rob

Jeff MacDuff wrote:
> Does anyone else have a method to install to a directory that isn’t a 
> “named” directory?
> 
>  
> 
> Surely I can somehow set the path based on environment variable? Is 
> there a expand method within wix?
> 
>  
> 
> Thanks,
> 
> JEff
> 
>  
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeff MacDuff
> *Sent:* Monday, November 27, 2006 3:40 PM
> *To:* Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> Here is the log entry:
> 
>  
> 
> MSI (c) (44:78) [13:58:30:775]: PROPERTY CHANGE: Modifying ALLUSERS 
> property. Its current value is '2'. Its new value: '1'.
> 
>  
> 
> *From:* Rob Mensching
> *Sent:* Monday, November 27, 2006 3:39 PM
> *To:* Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> What does your log file say the value for ALLUSERS is?  If it isn’t 1, 
> then you’re not doing a per-machine install and you won’t get the “All 
> Users” profile to install into.
> 
>  
> 
> *From:* Jeff MacDuff
> *Sent:* Monday, November 27, 2006 15:26
> *To:* Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> It should be per machine… is there a good way to tell?
> 
>  
> 
> *From:* Rob Mensching
> *Sent:* Monday, November 27, 2006 3:24 PM
> *To:* Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> Jeff, are you doing a per-machine or a per-user install?
> 
>  
> 
> *From:* Jeff MacDuff
> *Sent:* Monday, November 27, 2006 15:14
> *To:* Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> Looks /like //Windows SDK: KnownFolders.h/ has the list of folders.
> 
>  
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeff MacDuff
> *Sent:* Monday, November 27, 2006 2:10 PM
> *To:* Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> No I don’t off the bat… but I know that users\public\pictures is one of em J
> 
>  
> 
> I will send some offline email and see if I can dig it up… no promises.
> 
>  
> 
> *From:* Rob Mensching
> *Sent:* Monday, November 27, 2006 2:10 PM
> *To:* Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> I’ve been considering the need to create a standard CustomAction to 
> process all the new standard directories on Vista.  It sounds like we’ll 
> need to do that.  Jeff, do you have a pointer to the documentation that 
> points at all the new standard folders provided by the Vista shell?
> 
>  
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeff MacDuff
> *Sent:* Monday, November 27, 2006 14:04
> *To:* Dana Gutride; wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> Ok that worked, I now see all the propertys…. However there is no 
> property set for c:\users\public.
> 
>  
> 
> So since there isn’t a MSI property I can latch on too… is there another 
> method?
> 
>  
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Dana Gutride
> *Sent:* Monday, November 27, 2006 1:56 PM
> *To:* wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> Try specifying l*v instead of lv.
> 
> Dana
> 
> On 11/27/06, *Jeff MacDuff* <[EMAIL PROTECTED] 
> > wrote:
> 
> Ok I ran the verbose install like this:
> 
>  
> 
> msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log 
> that shows all the propertys? I did look for the value ( 
> c:\users\public) but it wasn't listed at all.
> 
>  
> 
> *From:* [EMAIL PROTECTED] 
>  
> [mailto:[EMAIL PROTECTED] 
> ] *On Behalf Of *Dana 
> Gutride
> *Sent:* Monday, November 27, 2006 1:16 PM
> 
> 
> *To:* wix-users@lists.sourceforge.net 
> 
> *Subject:* Re: [WiX-users] How to specify a envirorment variable dir
> 
>  
> 
> My other idea:  try a verbose install on vista (my vista vm isn't 
> running right now, or I'd try it for you).  Take a look at the 
> properties at the end of the log, is the property you need in there 
> somewhere?  Y

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-28 Thread Jeff MacDuff
Does anyone else have a method to install to a directory that isn't a
"named" directory?

 

Surely I can somehow set the path based on environment variable? Is
there a expand method within wix?

 

Thanks,

JEff

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 3:40 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Here is the log entry:

 

MSI (c) (44:78) [13:58:30:775]: PROPERTY CHANGE: Modifying ALLUSERS
property. Its current value is '2'. Its new value: '1'.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:39 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

What does your log file say the value for ALLUSERS is?  If it isn't 1,
then you're not doing a per-machine install and you won't get the "All
Users" profile to install into.

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:26
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

It should be per machine... is there a good way to tell?

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:24 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Jeff, are you doing a per-machine or a per-user install?

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:14
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Looks like Windows SDK: KnownFolders.h has the list of folders.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 2:10 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff <[EMAIL PROTECTED] > wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff <[EMAIL PROTECTED]> wrote:

The problem is that it's not in the list.

 

Users\public is new "common" directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a "named" folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill i

Re: [WiX-users] Deffered CA - MsiGetActiveDatabse()

2006-11-28 Thread Bob Arnson
Stefan Pavlik wrote:
> I want to read the string from Error table from deffered custom action.
> Is it normal (correct) that the function
> MsiGetActiveDatabase(hInstall) returns always zero?
>   

Yes. See http://msdn2.microsoft.com/en-gb/library/aa370543.aspx for 
details. You can use MsiProcessMessage to throw an error message that 
automatically reads and formats the string from the Error table.

-- 
sig://boB
http://bobs.org



-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WebDir element - no longer can contain webapplication?

2006-11-28 Thread Dana Gutride

We recently encountered this problem as well.  There is an old message
(here:
http://www.nabble.com/WebDir-element---no-longer-can-contain-webapplication-tf851560.html#a2280481)
about it.  From the IIS MMC, you can make any directory a web application.
In the metabsae, it creates any IISConfigObject elements for the directories
above and then the web directory elements are created with the relevent app
names in them.  Does anybody have any information about why the IIS team at
Microsoft says this isn't supported?  It seems odd that you can do this in
the IIS MMC, but not in WiX.

Dana
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Deffered CA - MsiGetActiveDatabse()

2006-11-28 Thread Stefan Pavlik
Hi,

My question is more MSI oriented but ...

I am calling deffered Custom Action in DLL (C++).

I want to read the string from Error table from deffered custom action.
Is it normal (correct) that the function
MsiGetActiveDatabase(hInstall) returns always zero?

The hInstall is handle recieved as parameter to my custom action.

If I call the same function as Immediate CA it works OK.

Thanks for any response.

Stefan



-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modifying a static control without EventMapping nor ActionText

2006-11-28 Thread Calin Iaru
Just tested a property inside a text control - no results that can be 
validated. The MsiSetProperty does not updated the controls connected to 
that property - not ever. It's not that it does not guarantee, but even 
more (or less).
> You can try using properties in the static text. (e.g., "This is my 
> mode: [MYMODE]") But there's no guarantee that MSI refreshes the 
> property values while the dialog is running. Though MSI does use stock 
> Windows controls for the most part, there's no guarantee that normal 
> control messages will work, especially from a custom action.
>
> Otherwise, your current approach is probably the best one.
>


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Error text - with new line

2006-11-28 Thread Stefan Pavlik
I have already found some interesting thing.

The function
MsiProcessMessage(hInstall,
INSTALLMESSAGE(INSTALLMESSAGE_USER|MB_OK), hRecord)
can use two forms of hRecord.

If you use
MsiRecordSetInteger(hRecord,1,uiErrorID)
then the string is taken from Error table and cannot use the \r\n
(new line). It is basicaly because the \r\n sequence is represented
as four characters ('\','r','\','n').

But if you use
MsiRecordSetInteger(hRecord,0,"Text with \r\n newline")
then the text is displayed with new line in place of \r\n.

One possible solution I see is to t\retrieve the text for specified
ErrorID from Error table and replace the \r\n (4 characters)
characters with \r\n (two characters).


Hope that it will help somebody.

Stefan

Rob Hamflett wrote:
> You can't force newlines.  I had to resort to creating multiple text controls.
> 
> Rob
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Error text - with new line

2006-11-28 Thread Rob Hamflett
You can't force newlines.  I had to resort to creating multiple text controls.

Rob

Stefan Pavlik wrote:
> Hi list,
> 
> I want to add my own text to some custom error (e.g. Id 25001).
> 
> Problem is that I don't know how to enter the new line character
> sequence. (\r\n does not work).
> 
> Any suggestions?
> 
> Thanks
> Stefan


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Error text - with new line

2006-11-28 Thread Stefan Pavlik
Hi list,

I want to add my own text to some custom error (e.g. Id 25001).

Problem is that I don't know how to enter the new line character
sequence. (\r\n does not work).

Any suggestions?

Thanks
Stefan
-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shortcuts/Fileassociation validation in Wix v3

2006-11-28 Thread André Pönitz

Ok, let's try again.

I have the following code in my test installer.





  

  
  

  

  

  
  

  

  

  

  

  

  

  


  

  

   
 
   

 



  
  
  
  



The installer 'works just fine'. I.e. it installs the file,
a program menu entry, a desktop entry, and a file association.

However, it also fails validation:

u:\src\fesetup\test\setup.wxs(79) : error LGHT0204 : ICE38: Component 
desktop_folder installs to user profile. It must use a registry key under HKCU 
as its KeyPath, not a file.
u:\src\fesetup\test\setup.wxs(89) : error LGHT0204 : ICE38: Component 
program_menu installs to user profile. It must use a registry key under HKCU as 
its KeyPath, not a file.
u:\src\fesetup\test\setup.wxs(79) : error LGHT0204 : ICE43: Component 
desktop_folder has non-advertised shortcuts. It should use a registry key under 
HKCU as its KeyPath, not a file.
u:\src\fesetup\test\setup.wxs(89) : error LGHT0204 : ICE43: Component 
program_menu has non-advertised shortcuts. It should use a registry key under 
HKCU as its KeyPath, not a file.
u:\src\fesetup\test\setup.wxs(101) : warning LGHT1076 : ICE69: Mismatched 
component reference. Entry 'reg312CD77B1D0E10687395CB75D9609CD7' of the 
Registry table belongs to component 'association'. However, the formatted 
string in column 'Value' references file 'Makefile' which belongs to component 
'data'. Components are in the same feature.
make: *** [Test/1.1-2-x86/Test.msi] Error 204

So I wonder how does a minimal example of Wix code look like
that has above mentioned functionality _and_ passes validation.

Andre'

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcuts/

2006-11-28 Thread André Pönitz
[EMAIL PROTECTED] wrote:
> I have a very similar issue whereby Vista Logo testing 
> automatically fails any component that has more than one 
> shortcut within it.  As such I have removed a shortcut from 
> the component containing the app's main executable and have 
> created a new component that installs an LNK file (a copy of 
> the advertised shortcut) into the second location - the 
> Desktop, for argument's sake.  The code looks like this...
> 
> 
>Guid="YOURGUID----" DiskId="1">
>Key="SOFTWARE\[Company]\[App]\[Version]\Install">
>Type="integer" />
>   
>Compressed="yes" src="Installs\ShortCut.lnk" />
>   
> 
> 
> The problem is that I now get a validation error in ICE57 
> thinking that the "DesktopFolder" is a per-user location and 
> that the "HKMU" keypath can be either per-user or 
> per-machine. 

That's exactly my problem.

> Whereas, we all know that the "DesktopFolder" 
> will resolve to either a per-user or per-machine location 
> just as the "HKMU" keypath will - depending on the value of ALLUSERS.
> 
> The validation is very dumb, but Vista Logo relies upon it.  
> I have a workaround, but it's very untidy and I hate it... at 
> the end of the day, the "HKMU" keypath should satisfy 
> validation's need for a keypath that matches the component's 
> per-user/per-machine state.

But the code you showed above is not that workaround, is it?
It does not yield any improvements in terms of less errors
in validation as faras I can tell.

Regards,
Andre'

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] regarding the usage of ProgID, ClassId in wix

2006-11-28 Thread aparna

Hi,


This is regarding the usage of ProgID, ClassId in wix. We are currently
trying to add registry keys required when a COM exe is registered manually
through wix.

I am using the following code and am unable to create all the required
entries:

"


 
 

   
"


Can anyone please let me know how to use ProgId in wix to add the required
registry keys? Please note thatmore than one class needs to be registered in
the COM exe.



Thanks,

Aparna
-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modifying a static control without EventMapping nor ActionText

2006-11-28 Thread Calin Iaru
Thanks. It seems that both approaches - yours and mine - are not 
officially supported. It would be good if every call of type 
MsiSetProperty would update text controls that are connected to that 
property. From what I've seen so far in the documentation, the only ways 
that enable text updating involve ControlEvent, EventMapping and 
ActionText. So it's a matter of choosing the smaller evil. Maybe your 
suggestion works and I would rather use it, instead of creating and 
hiding as many text controls as I want to display.

I will post this question to the support.microsoft.com MSI forum and 
keep you posted.

Best regards,
Calin



Bob Arnson wrote:
> Calin Iaru wrote:
>> my MSI setup needs some custm actions that should modify a Static 
>> text control after pressing a Configure button. I have found a 
>> workaround for this problem by creating many such text controls on 
>> the same client area and position  and having one visible. When the 
>> Configure button is pressed, the text control is hidden and another 
>> one is shown. I would like to know if there are other ways to update 
>> a static text control from within the custom action. Ideally, I 
>> should get the visible window using GetForegroundWindow() and 
>> EnumChildWindows, then use that handle in a call to SetWindowText or 
>> SendMessage(..,  WM_SETTEXT, ..); these approaches does not work.
>>   
>
> You can try using properties in the static text. (e.g., "This is my 
> mode: [MYMODE]") But there's no guarantee that MSI refreshes the 
> property values while the dialog is running. Though MSI does use stock 
> Windows controls for the most part, there's no guarantee that normal 
> control messages will work, especially from a custom action.
>
> Otherwise, your current approach is probably the best one.
>


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users