You could also probably use a filekey attribute instead of property???

On Tue, Aug 19, 2008 at 10:51 AM, Pierson Lee (PIE) <
[EMAIL PROTECTED]> wrote:

> A property cannot have an embedded property within it. To do this, you have
> to do use a custom action that resolves your property into another property.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of zynkerr
> Sent: Tuesday, August 19, 2008 1:26 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] launch an application during installation
>
> hi, i want to launch an application form the [SourceDir] at a specified
> moment during installation.
> i tryed:
> <InstallExecuteSequence>
>        <Custom Action='LaunchMyApp' After='InstallFinalize'>NOT
> Installed</Custom>
> </InstallExecuteSequence>
> <Property Id='MYAPP'>[SourceDir]app.exe</Property>
> <CustomAction Id='LaunchMyApp' Property='MYAPP'
> ExeCommand='[SourceDir]readme.txt' Return='ignore' />
>
> but it throws an error:
> MSI (s) (EC:88) [11:22:06:194]: Note: 1: 1721 2: LaunchMyApp 3:
> [SourceDir]app.exe 4: C:\Users\xxx\Desktop\samplewixui\Notepadu.exe
>
> i guess the installer looks for [SourceDir]app.exe, instead of resolving
> [SourceDir] to it's value :(
>
> is there a way to fix this, or another way of launching an application?
>
> thanx.
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to