[please keep the wix-users mailing list on the thread]

You would have to create a DLL CustomAction to do the registry reading 
yourself, yes.  The CustomAction can search and set a Property.  Again, when 
you think about the reorganization, you're going to find there is a lot of work 
when you want to handle rollback.  I would recommend changing the application 
design so you don't have to do this in the install.

From: Nitin Chaudhari [mailto:[EMAIL PROTECTED]
Sent: Monday, April 02, 2007 6:45 AM
To: Rob Mensching
Subject: Re: [WiX-users] RegistrySearch??

okay, so what should be the workaround?

should I have a dll which does this work and have a custom action fill in the 
registry. In this case... The dll will just lie there and it wont have any 
other use - I would need that to reorganise the value names while uninstalling.

Any better idea?

- Nitin


On 4/2/07, Rob Mensching <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

You can't do that with anything built into the Windows Installer.  That pattern 
isn't really great for really robust installation behavior either.  It can be 
very hard to correctly repair, patch and sometimes uninstall the data.



From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [mailto:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Nitin Chaudhari
Sent: Monday, April 02, 2007 1:42 AM
To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: [WiX-users] RegistrySearch??



In one of my registry keys the system has following strings



OPEN     REG_SZ    value

OPEN1    REG_SZ    value1

OPEN2    REG_SZ    value 2



now how do i find out that the next name should be OPEN3?

On target machine, there may be OPENn (n could be any number) how can i derive 
OPENn+1



Thanks,

Nitin

-------------------------------------------------------------------------
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

Reply via email to