I've rewritten the database and the directory created now has the proper
name.  Thanks!  I'm also supposed to create a shortcut on the desktop to
that directory, and the name of the shortcut should be the same as the name
of the directory.  I've now run into the same problem I think: the name
cannot be set because of formatting.  I'm trying to rewrite this table as
well, but I get error 'ERROR_FUNCTION_FAILED'.  Any clues what to do?


Richard-45 wrote:
> 
> 
> In article <[EMAIL PROTECTED]>,
>     EricT-in-Ottawa <[EMAIL PROTECTED]>  writes:
> 
>> I'm trying to (using WiX V2) create a directory where the name is
>> supplied
>> via CustomAction.  The customaction determines the name and creates a
>> property [...]
> 
> [...]
> You could write an immediate mode custom action that would update the
> Directory table with the desired directory name after you've sanitized
> the input to validate it as a long and short filename.  Then you
> proceed normally and let Windows Installer create the directory with
> the associated name.  This would be the most robust way to attack the
> problem.
> [...]
> 

-- 
View this message in context: 
http://www.nabble.com/Create-Directory-with-name-from-Property-tp14196967p14274367.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to