Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Bob Arnson
Jianjun An (Person Consulting) wrote:
> How can I do that? I am seeking a way not using registry.
>   

What do you need it for? MSI will automatically remove the components it 
installs.

-- 
sig://boB
http://joyofsetup.com/



-
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


Re: [WiX-users] Uninstall error :"A program required for this install to complete could not be run"

2008-11-24 Thread Bob Arnson
Joe Osman wrote:
> I suspect that the installer is trying to execute this file after it has 
> been removed but I couldn't find a way to solve it. Below is the code. 
>   

Use a condition on the custom action scheduling. See the MSI SDK topic 
"Examples of Conditional Statement Syntax."

-- 
sig://boB
http://joyofsetup.com/



-
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


Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)

BTW, if the registry which storing the install path be deleted by user or some 
other applications, can the uninstall get the correct install path ?



-Original Message-
From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED]
Sent: 2008/11/25 11:41
To: Kevin Richardson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning 
of uninstall?
Thanks, what I did is same as what you suggested. The difference is yours CA 
has condition but mine is setting the INSTALLDIR property immediately.
I checked some sample code of Wix, and found that some of them do not use 
registry to store install path and can also get user specified path when 
uninstalling.
How can I do that? I am seeking a way not using registry.



-Original Message-
From: Kevin Richardson [mailto:[EMAIL PROTECTED]
Sent: 2008/11/25 0:01
To: Jianjun An (Person Consulting)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning 
of uninstall?

You probably want the directory tree to look like this:

> 
>   
> 
>   
   






   ...
   
   ...



   ...
   
   ...



-kevin


On Nov 24, 2008, at 9:23 AM, [EMAIL PROTECTED]
wrote:

> Date: Mon, 24 Nov 2008 21:25:05 +0800
> From: "Jianjun An (Person Consulting)" <[EMAIL PROTECTED]>
> Subject: [WiX-users] How can I get the correct INSTALLDIR at the
>   beginning   of uninstall?
> To: "wix-users@lists.sourceforge.net"
>   
> Message-ID:
>   <[EMAIL PROTECTED]
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi:
>
> I wrote a MSI file to install my application. It can let user select
> install path through BrowseDlg. But once user changes the default
> install path, it cannot remove any file which the MSI has installed.
>
> I checked the installation log file. I found that it cannot get the
> correct INSTALLDIR at the beginning of uninstall. The path it got
> still is the default value "c:\programe files\myappname"
> I found an awkward solution: write the INSTALLDIR to registry and
> read it when uninstalling.
>
> Is there any other better solution?
>
>
> A piece of wxs code looks like following:
>
> 
>  
>
>  
>   < File . />
> 
>
>  
> 
>
> 
>   Root="HKLM" Key="SOFTWARE\myappname"
>Name="InstallDir" Type="raw"/>
> 



-
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


Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-24 Thread Eitan Behar
Why don't you include the EXE and the DLL as well in the Binary table ? If your 
file is only needed for maintenance (install, repair, uninstall), then do not 
deploy it.

If I remember correctly, all files in the Binary table are extracted to the 
same folder during (un)installation.



-Original Message-
From: Love88Keys [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2008 12:54 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR


Well, I think I didn´t point my problem exactly.

I´ve got an EXE which ist only needed during install, uninstall or modify
process. My first idea was -of course- to do a CustomAction with BinaryKey.
But :
1. the EXE requires a dll and I don´t know how to refer to that.
2. I´m not shure if my EXE is still available if the Setup.msi is removed
from the system. 

So I decided to install the EXE plus dll and use FileKey. Works good, but on
uninstall nothing happens or - other case - the compiler shows me an error
"Unresolved reference". Just depending on when I set the CA
Before='LaunchCondition' or After='InstallFinalize' or something between but
I didn´t check everything out.

Thanks, Michael



-- 
View this message in context: 
http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1574154.html
Sent from the wix-users mailing list archive at Nabble.com.


-
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


[WiX-users] strange behavior of Localized display name for shortcuts

2008-11-24 Thread Ali-Akber Saifee
I guess this is more of an operating system problem than a WiX / MSI one but
lets see if anyone else has hit it.

Scenario-1

1. Shortcut  created in a sub folder of 'Start menu' called 'xyz.lnk'. The
'Name' column for this shortcut is localized (i.e. transformed via language
transforms). Also, the DisplayResourceDLL & DisplayDescriptionResourceDLL
fields are populated to point to mui resource dlls.
2. The package is installed on Vista, under MUI with the display language in
an east asian language (e.g zh-TW ) - with the system setting for 'language
for non-unicode applications' set to the corresponding language (Chinese
Traditional ) In this case, once installed, the shortcut appears correctly
in traditional chinese, and so does the tooltip. However, upon switching the
display language to English, the shortcut name remains in traditional
chinese (but the description switches correctly).


If the above scenario is repeated, without changing the 'language for non
unicode applications' modified (i.e. left to English), the problem does not
occur. Also, if the installation is done in a non east asian language before
switching to English, the problem again, does not occur.

Further investigation of this led to the 'desktop.ini' file that was created
under the sub-folder of Start Menu, which appeared to have some encoding
errors when pointing to the localized shortcut file name ( "立即建立家庭電影.lnk"
appeared as "立即建立家庭電?影.lnk" - i.e. the extra question mark). Furthermore,
the desktop.ini file was an 'ANSI' file. After manually creating this file
in Unicode and writing the same entries, the shortcut display name switched
correctly with MUI.

Lastly, I tried using the SHSetLocalizedName api defined in "shlapi.h" -
which i assume is the same one used internally by windows installer - to
link up shortcut file to a resource dll (under the same conditions as
described above in Scenario-1) - and the entry in the desktop.ini again
appeared corrupted, which led to the display name not switching correctly
with MUI.


*any ideas*?

btw: the obvious workaround for this problem would agreeably be to create
the shortcut file with an english name and then point it to the resource
dll, however - this mechanism will not work for XP since the MUI redirection
is not available.



-- 
Ali-Akber Saifee
-
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


Re: [WiX-users] Uninstall error:"A program requiredfor thisinstallto complete could not be run"

2008-11-24 Thread Han Sheng
hi joe,

you can try using:

if "%errorlevel%"=="0" EXIT 0
if "%errorlevel%"=="1" EXIT %errorlevel%

Quits the CMD.EXE program (command interpreter) or the current batch
script.

EXIT [/B] [exitCode]

  /B  specifies to exit the current batch script instead of
  CMD.EXE.  If executed from outside a batch script, it
  will quit CMD.EXE

  exitCodespecifies a numeric number.  if /B is specified, sets
  ERRORLEVEL that number.  If quitting CMD.EXE, sets the process
  exit code with that number.

for the batch file. specify the exitCode as 0 for success... this way, you 
can check for error. not sure whether batch file for error checking is the 
right code. Do try and give the right feedback. Then, you can set ur wix 
script return of custom action as check.

-Tony

--
From: "Joe Osman" <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2008 11:37 AM
To: "General discussion for Windows Installer XMLtoolset." 

Subject: Re: [WiX-users] Uninstall error:"A program 
requiredforthisinstalltocomplete could not be run"

> Thinks Tony.
> If I put it to Ignore, how can I check for errors in the exe execution?
>
> Han Sheng wrote:
>> Hi joe,
>>
>> you put ur custom action as check. If your exe returns a value > 0, it 
>> means
>> it fails. Try changing the return value to ignore.
>>
>> - Tony
>>
>> --
>> From: "Joe Osman" <[EMAIL PROTECTED]>
>> Sent: Tuesday, November 25, 2008 7:20 AM
>> To: "General discussion for Windows Installer XMLtoolset."
>> 
>> Subject: [WiX-users] Uninstall error :"A program required for this 
>> installto
>> complete could not be run"
>>
>>
>>> I am installing a .cmd file and I run it during the installation using a
>>> Custom Action. When I run the uninstall I get the following error 
>>> message:
>>> "There is a problem with this Windows Installer package. A program
>>> required for this install to complete could not be run. Contact your
>>> support personnel or package vendor"
>>>
>>> I suspect that the installer is trying to execute this file after it has
>>> been removed but I couldn't find a way to solve it. Below is the code.
>>> Thank s for your help.
>>> 
>>> http://schemas.microsoft.com/wix/2006/wi";>
>>>>> Name="ProductInstall" Language="1033" Version="1.0.0.0"
>>> Manufacturer="T1" UpgradeCode="8bf3db65-ec81-4456-ac12-7740ee1a1c61">
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>> Guid="{0771B8C9-36E4-4d04-9757-3B61296D0EAD}">
>>>>> Source="CreateDataBase.cmd"  />
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>>  FileKey="CreateDataBase"
>>>  ExeCommand="-switch"
>>>  Execute="deferred"
>>>  Return="check"
>>>  HideTarget="no"
>>>  Impersonate="no" />
>>>
>>>
>>>
>>>
>>> 
>>>
>>>
>>> ===
>>> This email, including any attachments, is only for the intended
>>> addressee.  It is subject to copyright, is confidential and may be
>>> the subject of legal or other privilege, none of which is waived or
>>> lost by reason of this transmission.
>>> If the receiver is not the intended addressee, please accept our
>>> apologies, notify us by return, delete all copies and perform no
>>> other act on the email.
>>> Unfortunately, we cannot warrant that the email has not been
>>> altered or corrupted during transmission.
>>> ===
>>>
>>>
>>> -
>>> 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
>>
>>
>
> ===

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
Thanks, what I did is same as what you suggested. The difference is yours CA 
has condition but mine is setting the INSTALLDIR property immediately.
I checked some sample code of Wix, and found that some of them do not use 
registry to store install path and can also get user specified path when 
uninstalling.
How can I do that? I am seeking a way not using registry.



-Original Message-
From: Kevin Richardson [mailto:[EMAIL PROTECTED]
Sent: 2008/11/25 0:01
To: Jianjun An (Person Consulting)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning 
of uninstall?

You probably want the directory tree to look like this:

> 
>   
> 
>   
   






   ...
   
   ...



   ...
   
   ...



-kevin


On Nov 24, 2008, at 9:23 AM, [EMAIL PROTECTED]
wrote:

> Date: Mon, 24 Nov 2008 21:25:05 +0800
> From: "Jianjun An (Person Consulting)" <[EMAIL PROTECTED]>
> Subject: [WiX-users] How can I get the correct INSTALLDIR at the
>   beginning   of uninstall?
> To: "wix-users@lists.sourceforge.net"
>   
> Message-ID:
>   <[EMAIL PROTECTED]
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi:
>
> I wrote a MSI file to install my application. It can let user select
> install path through BrowseDlg. But once user changes the default
> install path, it cannot remove any file which the MSI has installed.
>
> I checked the installation log file. I found that it cannot get the
> correct INSTALLDIR at the beginning of uninstall. The path it got
> still is the default value "c:\programe files\myappname"
> I found an awkward solution: write the INSTALLDIR to registry and
> read it when uninstalling.
>
> Is there any other better solution?
>
>
> A piece of wxs code looks like following:
>
> 
>  
>
>  
>   < File . />
> 
>
>  
> 
>
> 
>   Root="HKLM" Key="SOFTWARE\myappname"
>Name="InstallDir" Type="raw"/>
> 



-
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


Re: [WiX-users] Uninstall error:"A program required for thisinstallto complete could not be run"

2008-11-24 Thread Joe Osman
Thinks Tony.
If I put it to Ignore, how can I check for errors in the exe execution?

Han Sheng wrote:
> Hi joe,
>
> you put ur custom action as check. If your exe returns a value > 0, it means 
> it fails. Try changing the return value to ignore.
>
> - Tony
>
> --
> From: "Joe Osman" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 25, 2008 7:20 AM
> To: "General discussion for Windows Installer XMLtoolset." 
> 
> Subject: [WiX-users] Uninstall error :"A program required for this installto 
> complete could not be run"
>
>   
>> I am installing a .cmd file and I run it during the installation using a
>> Custom Action. When I run the uninstall I get the following error message:
>> "There is a problem with this Windows Installer package. A program
>> required for this install to complete could not be run. Contact your
>> support personnel or package vendor"
>>
>> I suspect that the installer is trying to execute this file after it has
>> been removed but I couldn't find a way to solve it. Below is the code.
>> Thank s for your help.
>> 
>> http://schemas.microsoft.com/wix/2006/wi";>
>>> Name="ProductInstall" Language="1033" Version="1.0.0.0"
>> Manufacturer="T1" UpgradeCode="8bf3db65-ec81-4456-ac12-7740ee1a1c61">
>>
>>
>>
>>
>>
>>
>>
>>> Guid="{0771B8C9-36E4-4d04-9757-3B61296D0EAD}">
>>> Source="CreateDataBase.cmd"  />
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>>  FileKey="CreateDataBase"
>>  ExeCommand="-switch"
>>  Execute="deferred"
>>  Return="check"
>>  HideTarget="no"
>>  Impersonate="no" />
>>
>>
>>
>>
>> 
>>
>>
>> ===
>> This email, including any attachments, is only for the intended
>> addressee.  It is subject to copyright, is confidential and may be
>> the subject of legal or other privilege, none of which is waived or
>> lost by reason of this transmission.
>> If the receiver is not the intended addressee, please accept our
>> apologies, notify us by return, delete all copies and perform no
>> other act on the email.
>> Unfortunately, we cannot warrant that the email has not been
>> altered or corrupted during transmission.
>> ===
>>
>>
>> -
>> 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 email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
===


-
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


Re: [WiX-users] Uninstall error :"A program required for this installto complete could not be run"

2008-11-24 Thread Han Sheng
Hi joe,

you put ur custom action as check. If your exe returns a value > 0, it means 
it fails. Try changing the return value to ignore.

- Tony

--
From: "Joe Osman" <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2008 7:20 AM
To: "General discussion for Windows Installer XMLtoolset." 

Subject: [WiX-users] Uninstall error :"A program required for this installto 
complete could not be run"

> I am installing a .cmd file and I run it during the installation using a
> Custom Action. When I run the uninstall I get the following error message:
> "There is a problem with this Windows Installer package. A program
> required for this install to complete could not be run. Contact your
> support personnel or package vendor"
>
> I suspect that the installer is trying to execute this file after it has
> been removed but I couldn't find a way to solve it. Below is the code.
> Thank s for your help.
> 
> http://schemas.microsoft.com/wix/2006/wi";>
> Name="ProductInstall" Language="1033" Version="1.0.0.0"
> Manufacturer="T1" UpgradeCode="8bf3db65-ec81-4456-ac12-7740ee1a1c61">
>
>
>
>
>
>
>
> Guid="{0771B8C9-36E4-4d04-9757-3B61296D0EAD}">
> Source="CreateDataBase.cmd"  />
>
>
>
>
>
>
>
>
>
>
>  FileKey="CreateDataBase"
>  ExeCommand="-switch"
>  Execute="deferred"
>  Return="check"
>  HideTarget="no"
>  Impersonate="no" />
>
>
>
>
> 
>
>
> ===
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> altered or corrupted during transmission.
> ===
>
>
> -
> 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


[WiX-users] Uninstall error :"A program required for this install to complete could not be run"

2008-11-24 Thread Joe Osman
I am installing a .cmd file and I run it during the installation using a 
Custom Action. When I run the uninstall I get the following error message:
"There is a problem with this Windows Installer package. A program 
required for this install to complete could not be run. Contact your 
support personnel or package vendor"

I suspect that the installer is trying to execute this file after it has 
been removed but I couldn't find a way to solve it. Below is the code. 
Thank s for your help.

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




























===
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
===


-
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


Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-24 Thread Love88Keys

Well, I think I didn´t point my problem exactly.

I´ve got an EXE which ist only needed during install, uninstall or modify
process. My first idea was -of course- to do a CustomAction with BinaryKey.
But :
1. the EXE requires a dll and I don´t know how to refer to that.
2. I´m not shure if my EXE is still available if the Setup.msi is removed
from the system. 

So I decided to install the EXE plus dll and use FileKey. Works good, but on
uninstall nothing happens or - other case - the compiler shows me an error
"Unresolved reference". Just depending on when I set the CA
Before='LaunchCondition' or After='InstallFinalize' or something between but
I didn´t check everything out.

Thanks, Michael



-- 
View this message in context: 
http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1574154.html
Sent from the wix-users mailing list archive at Nabble.com.


-
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


Re: [WiX-users] WixWiki issues

2008-11-24 Thread Rob Mensching
I can see everything fine.

-Original Message-
From: Chris Lord [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 11:52
To: wix-users
Subject: [WiX-users] WixWiki issues

Hello,

Want to look up some things in the Wixwiki but all I get is blank pages.
The search works but any page I select shows no information.  Is it me
or is there a problem?

Thanks

Chris

-
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


[WiX-users] WixWiki issues

2008-11-24 Thread Chris Lord
Hello,
 
Want to look up some things in the Wixwiki but all I get is blank pages.
The search works but any page I select shows no information.  Is it me
or is there a problem?
 
Thanks

Chris

-
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


Re: [WiX-users] Certificate install to local machine fails with code 26352

2008-11-24 Thread Rob Mensching
As noted in my bug comment, the other code is commented out.  I changed the 
only location that was actually being executed.  Ultimately, I don't think this 
change did anything.

-Original Message-
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 12:43
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install to local machine fails with code 
26352

I just checked the latest weekly, and it looks like the change only got
made in one place.  It looks like I still get the same cert install
error-is there a reason that it didn't change in scacert.cpp?

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 2:01 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install tolocal
machinefailswithcode 26352

Yes, but I didn't make the 4624 build.  If you look in CVS then you'll
see the change.

-Original Message-
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 10:51
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install to local
machinefailswithcode 26352

I checked out the latest weekly build, and it looks like the problem is
still there.  The source for the build is also identical to what was
there before-Rob, did you change anything?

-Original Message-
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 1:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install to local
machinefailswithcode 26352

Thanks, I've opened a bug (number 2184946).

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 12:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install to local machine
failswithcode 26352

Wow, nice analysis.  Is there a bug open on this issue right now?  If
not, can you open one and I'll try to get this change in Thursday night
for Friday's build.

-Original Message-
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 07:47
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install to local machine fails
withcode 26352

OK, I think I understand what's going on here.  The reason a certificate
looked like it was duplicated was that the same cert existed in multiple
physical stores, which appeared as the same logical store in the mmc.
If the certificate the installer was trying to add already existed in
the Group Policy store, then the install would fail, since the user
would not have permission to delete from that store (although they can
through the MMC).  If the cert exists in any other combination of
stores, it seems to work.  Here's the steps to reproduce

-Generate a CA cert
-Open mmc, and add the certificates snapin for the local computer
-Right click the Certificates (Local Computer) node, and select
View->options
-Leave the view mode as Logical stores, and check off the Show Physical
certificate stores option
-Click OK
-Expand the Group policy node, right click on the Certificates folder,
and select All Tasks->Import
-Import your certificate into the store
-Create an installer that installs the certificate into the local
machine store using the IIS extension (e.g. )
-Run the installer

If you do this, the installer will fail with the error code 26352.  If
you remove the cert from the group policy store manually, the installer
will run.

To fix this, you should just be able to change the calls in the IIS
extension source (scacertexec.cpp and scacert.cpp) to
CertAddCertificateContextToStore.  Instead of using
CERT_STORE_ADD_REPLACE_EXISTING, you can use
CERT_STORE_ADD_USE_EXISTING.  This updates the current cert instead of
duplicating it, and the test case detailed above should pass.  You will
notice that the certificate will be listed in both the registry and
group policy physical stores, but I don't think there's anything we can
do about that.

I haven't tried actually rebuilding the WiX source with this change
(since I don't have a build environment set up for it yet), but that's
the next step.  Anyone have any thoughts on this change?

-Original Message-
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 1:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Certificate install to local machine fails
withcode 26352

I've dug a little deeper into this, written some test code to try to
debug the problem, and I've found something interesting.  The
CertAddCertificateContextToStore function is failing with Access Denied
when trying to add the cert with CERT_STORE_ADD_REPLACE_EXISTING, which
is failing the installer.  This only appears to fail if there are two
copies of the same certificate in the store with the sam

Re: [WiX-users] LGHT0001 The operation completed successfully

2008-11-24 Thread Rob Mensching
Okay, thanks.  In case it wasn't clear by now, I often lose email in the flood. 


Glad we don't have to run this down... wasn't sure where to start.

-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 11:02
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] LGHT0001 The operation completed successfully

I did reply before but may be it got lost:

"It was working from msbuild and the command line but failing in VS. Now
the problem has gone away! The only difference was that I had changed
the source rather than rebuilding existing source. I can't reproduce it
again."

Neil

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: 24 November 2008 18:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] LGHT0001 The operation completed successfully

Not seeing this with the WiX toolset build.  Is this still happening in
the latest release?

-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 10:18
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] LGHT0001 The operation completed successfully

When I build from a VS2008 project I have started getting this error:

light.exe(0,0): error LGHT0001: The operation completed successfully.

Done building project "Setup.wixproj" -- FAILED.



But as the error says the "The operation completed successfully". Is
anyone else seeing this?



I think this has only started happening with build 3.0.4624.



Neil



Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] 




-
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


-
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


Re: [WiX-users] LGHT0001 The operation completed successfully

2008-11-24 Thread Neil Sleightholm
I did reply before but may be it got lost:

"It was working from msbuild and the command line but failing in VS. Now
the problem has gone away! The only difference was that I had changed
the source rather than rebuilding existing source. I can't reproduce it
again."
 
Neil
 
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: 24 November 2008 18:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] LGHT0001 The operation completed successfully

Not seeing this with the WiX toolset build.  Is this still happening in
the latest release?

-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 10:18
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] LGHT0001 The operation completed successfully

When I build from a VS2008 project I have started getting this error:

light.exe(0,0): error LGHT0001: The operation completed successfully.

Done building project "Setup.wixproj" -- FAILED.



But as the error says the "The operation completed successfully". Is
anyone else seeing this?



I think this has only started happening with build 3.0.4624.



Neil



Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] 




-
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


Re: [WiX-users] What would be the best way to go about this?...

2008-11-24 Thread Rob Mensching
Sorry, when I say "fixed", it sounds like you need to get the CustomActions to 
understand that they may not always be installed.  I say "very brittle" because 
when CustomActions have this sort of behavior, they usually have problems with 
repair scenarios which are also important for patching... and sometimes they 
have issues with uninstall.

I also believe that 3rd party Merge Modules should be treated like black boxes 
and only be modified by the producers. Editing a Merge Module (while possible) 
seems like it should void any warranties/support provided by the producer.

To provide more targeted suggestions, we'd have to have more specific details 
about all the moving parts here.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 10:46
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] What would be the best way to go about this?...

I would never recommend calling a batch file as part of an install.  Rolling 
back a batch file sounds like a lot of work... especially since batch files 
don't have any kind of "transactionality" in them.

Can you investigate the CustomActions of the Merge Module more and see if there 
is some way to get them fixed to correctly handle your scenario.  Right now, 
the pieces all sound very brittle and fragile.

-Original Message-
From: John D. Marinuzzi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 10:42
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] What would be the best way to go about this?...

I posted last week with some issues I was having with Merge Modules and got
some suggestions, but it never really solved my issue.  So, maybe I am just
not using the correct way to skin this cat.  Here is what needs to be done:



Our software uses a hardlock key for protection.  We no longer use this type
key of key, but we need to optionally continue to install the drivers for
customers using the old key.  The manufacturer provides us with an msm file
to add to our msi.  I could also run a command line batch program to install
the drivers as well.  I want to give the user the Feature (option) of
installing these drivers if they are using the old type of key.  I was
originally using the msm file and had a Mergeref in the Feature.  I found
that if the user did not select the feature (which most won't), the
installer fails.  I have the Merge element under the INSTALLDIR Directory
(although no files are actually being installed there).



So, what is the best way to go about installing these drivers only if the
Feature is selected?  Should I run a CustomAction and just fire off the
batch file?



Thanks Again,



John

-
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


Re: [WiX-users] What would be the best way to go about this?...

2008-11-24 Thread Rob Mensching
I would never recommend calling a batch file as part of an install.  Rolling 
back a batch file sounds like a lot of work... especially since batch files 
don't have any kind of "transactionality" in them.

Can you investigate the CustomActions of the Merge Module more and see if there 
is some way to get them fixed to correctly handle your scenario.  Right now, 
the pieces all sound very brittle and fragile.

-Original Message-
From: John D. Marinuzzi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 10:42
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] What would be the best way to go about this?...

I posted last week with some issues I was having with Merge Modules and got
some suggestions, but it never really solved my issue.  So, maybe I am just
not using the correct way to skin this cat.  Here is what needs to be done:



Our software uses a hardlock key for protection.  We no longer use this type
key of key, but we need to optionally continue to install the drivers for
customers using the old key.  The manufacturer provides us with an msm file
to add to our msi.  I could also run a command line batch program to install
the drivers as well.  I want to give the user the Feature (option) of
installing these drivers if they are using the old type of key.  I was
originally using the msm file and had a Mergeref in the Feature.  I found
that if the user did not select the feature (which most won't), the
installer fails.  I have the Merge element under the INSTALLDIR Directory
(although no files are actually being installed there).



So, what is the best way to go about installing these drivers only if the
Feature is selected?  Should I run a CustomAction and just fire off the
batch file?



Thanks Again,



John

-
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


Re: [WiX-users] backuponinstall

2008-11-24 Thread Rob Mensching
A batch file?  Wow, this is for an internal tool only right?

-Original Message-
From: Brian Simoneau [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 10:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] backuponinstall

Add the batch file as a Binary and run the custom action before
InstallFiles.

-Brian Simoneau

-Original Message-
From: Yu, Brian [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 8:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] backuponinstall

Hi there



I am trying to backup all files under INSTALLDIR before installation

M plan is to use custom action to run a bat file that does the copying.



I tried running the bat file as is and deploying the bat file itself
first

The problem is that MSI InstallFiles action install all files before my
custom action kicks in and  overwrites my old binaries



Any help is appreciated



Brian






_
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are
incorporated under the laws of England and Wales (company no. 05677531
and VAT registration no. 872810613). Our registered office is at 155
Bishopsgate, London EC2M 3TQ. This e-mail and/or any attached documents
may contain privileged and confidential information and should only be
read by those persons to whom this e-mail is addressed. Use by other
than intended recipients is prohibited. If you are not the addressee,
you must not copy, distribute, disclose or use any of the information in
it. If you have received it in error, please delete it and immediately
notify the sender. EASYSCREEN reserves the right to monitor all e-mail
messages passing through its network. As we cannot guarantee the
genuineness, accuracy or completeness of the information contained in
this message, the statements set forth are not legally binding.

-
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


Re: [WiX-users] backuponinstall

2008-11-24 Thread Brian Simoneau
Add the batch file as a Binary and run the custom action before
InstallFiles.

-Brian Simoneau 

-Original Message-
From: Yu, Brian [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 8:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] backuponinstall

Hi there

 

I am trying to backup all files under INSTALLDIR before installation

M plan is to use custom action to run a bat file that does the copying.

 

I tried running the bat file as is and deploying the bat file itself
first

The problem is that MSI InstallFiles action install all files before my
custom action kicks in and  overwrites my old binaries

 

Any help is appreciated

 

Brian

 

 


_
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are
incorporated under the laws of England and Wales (company no. 05677531
and VAT registration no. 872810613). Our registered office is at 155
Bishopsgate, London EC2M 3TQ. This e-mail and/or any attached documents
may contain privileged and confidential information and should only be
read by those persons to whom this e-mail is addressed. Use by other
than intended recipients is prohibited. If you are not the addressee,
you must not copy, distribute, disclose or use any of the information in
it. If you have received it in error, please delete it and immediately
notify the sender. EASYSCREEN reserves the right to monitor all e-mail
messages passing through its network. As we cannot guarantee the
genuineness, accuracy or completeness of the information contained in
this message, the statements set forth are not legally binding.

-
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


Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Richard

In article <[EMAIL PROTECTED]>,
"Chris Matthews" <[EMAIL PROTECTED]>  writes:

> Yes it passes all ICEs. [...]

Interesting.  Does it still work if you take out the Subscribe?

> >  > Height="16" Property="LFM_SERVER_ROOT" TabSkip="no" Disabled="yes" >
> >   
> > 

See, I'm thinking that even if you did need to subscribe to a property
change event, that the syntax would be more like
Event="[LFM_SERVER_ROOT]" like it is in the Publish element and not
Event="LFM_SERVER_ROOT".  It sounds to me like the ICEs aren't
checking the valid values of the Event column for the EventMapping
table.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
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


Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed Simple Addition to WiX to Make Them Easier

2008-11-24 Thread Josh Rowe
Shawny,

I apologize for not seeing this post earlier.  The wix-users list is pretty 
high-traffic.  Unfortunately, I can't follow up completely right now because 
the "whole file" is proprietary to my company.  I am, however, slowly working 
on some stuff which I will be release as open source probably around March.

In the end, I built an extension against Wix 3.0.4102, which allows multiple 
extensions at the compile and bind stages, that implements a custom boolean 
attribute on a component called "instance-transforms:Private" (see usage 
below).  The compiler extension class creates a new table called 
"InstanceTransforms_PrivateComponents", and adds each private component to that 
table.  A binder extension generates Component transform rows using a 
deterministic guid-changing algorithm (the same used internally by WiX for 
generating component guids, based on the UUID generation algorithm) in each 
embedded transform for each row joined from the WixInstanceTransforms table to 
the InstanceTransforms_PrivateComponents table.  This extension replaces the 
proposed WiX change; in WiX < 4102 I would have needed to change WiX, but at 
WiX 4102 it permitted multiple extensions to be loaded simultaneously, thus 
allowing my extension to coexist with other extensions.

I use a loop over a predefined set of instance ids while -ing a 
per-instance file to generate the raw data in the .MSI file.  Please note that 
I had to strip some things from these sources so it may not compile.  Then 
other files specify "instance-transforms:Private" when they have private 
non-file data.  The result is an MSI that when installed via the GUI 
automatically installs the next available instance id.

InstanceTransforms.wxi:


http://schemas.microsoft.com/wix/2006/wi";
 xmlns:instance-transforms="http://XXX.com/wix/InstanceTransforms.xsd";>

  
  

  
  

























  


  
  

  

  

  
  

  

  
  

  
  

  
ACTION="INSTALL" AND InstanceId = 
"Invalid"
ACTION="INSTALL" AND MSINEWINSTANCE = 
1
  

  
  

  

  




DefineInstanceTransform.wxi:



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

  
  

  

  
  
  

  

  

  
  

  
  

  



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shawny
Sent: Tuesday, September 16, 2008 11:17 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed 
Simple Addition to WiX to Make Them Easier


This is great and exactly along the lines of what I'm trying to do.  Can you
post the whole wix file?  And how have you approached the instance issue in
respect to having to declare MyInstance1, MyInstance2, etc in the project?
Is there a way to dynamically generate that?


-
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


Re: [WiX-users] concurrent / parallel builds

2008-11-24 Thread Rob Mensching
That build is a year old.  We've made a gazillion bug fixes since then.  
Because WiX v3 is Beta the expectation is that you're picking up builds at 
least monthly to stay current and help flush out bugs so we can reach 
production level quality.

If you want a single stable build, WiX v2 is the recommendation.

-Original Message-
From: Chris Eldredge [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 10:24
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] concurrent / parallel builds

I'm on v3.0.3429.0.  I know it's (a) beta and (b) old, but apart from
some transient failures it does what we need.

Matt Ziegler wrote:
> I run a continuous integration server and run multiple installer builds at
> the same time and haven't received this error before.  Are the 2 projects in
> the same working directory?  What version of WiX are you running?
>
> Matt
>
> On Thu, Nov 20, 2008 at 12:32 PM, Chris Eldredge
> <[EMAIL PROTECTED]>wrote:
>
>> I have a continuous integration server with multiple, unrelated
>> projects.  The machine has multiple cores so I let the projects build
>> asynchronously.  When 2 instances of light.exe run at the same time, bad
>> things seem to happen.
>>
>> Can anyone confirm or deny that light.exe does something (maybe temp
>> files or something else) that causes 2 instances running at the same
>> time to crash?
>>
>> I had to delete the entire profile directory for my service account
>> today because I was getting this error:
>>
>> LGHT0001: The file exists. (Exception from HRESULT: 0x80070050)
>>
>> Unhandled Exception: System.AccessViolationException: Attempted to read
>> or write protected memory. This is often an indication that other memory
>> is corrupt.
>>at
>>
>> Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish(IntPtr
>> contextHandle)
>>at
>> Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose()
>>at
>> Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Finalize()
>>
>>
>> -
>> 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=/


-
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


Re: [WiX-users] concurrent / parallel builds

2008-11-24 Thread Chris Eldredge
I'm on v3.0.3429.0.  I know it's (a) beta and (b) old, but apart from 
some transient failures it does what we need.

Matt Ziegler wrote:
> I run a continuous integration server and run multiple installer builds at
> the same time and haven't received this error before.  Are the 2 projects in
> the same working directory?  What version of WiX are you running?
> 
> Matt
> 
> On Thu, Nov 20, 2008 at 12:32 PM, Chris Eldredge
> <[EMAIL PROTECTED]>wrote:
> 
>> I have a continuous integration server with multiple, unrelated
>> projects.  The machine has multiple cores so I let the projects build
>> asynchronously.  When 2 instances of light.exe run at the same time, bad
>> things seem to happen.
>>
>> Can anyone confirm or deny that light.exe does something (maybe temp
>> files or something else) that causes 2 instances running at the same
>> time to crash?
>>
>> I had to delete the entire profile directory for my service account
>> today because I was getting this error:
>>
>> LGHT0001: The file exists. (Exception from HRESULT: 0x80070050)
>>
>> Unhandled Exception: System.AccessViolationException: Attempted to read
>> or write protected memory. This is often an indication that other memory
>> is corrupt.
>>at
>>
>> Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish(IntPtr
>> contextHandle)
>>at
>> Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose()
>>at
>> Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Finalize()
>>
>>
>> -
>> 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=/


-
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


Re: [WiX-users] LGHT0001 The operation completed successfully

2008-11-24 Thread Rob Mensching
Not seeing this with the WiX toolset build.  Is this still happening in the 
latest release?

-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 10:18
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] LGHT0001 The operation completed successfully

When I build from a VS2008 project I have started getting this error:

light.exe(0,0): error LGHT0001: The operation completed successfully.

Done building project "Setup.wixproj" -- FAILED.



But as the error says the "The operation completed successfully". Is
anyone else seeing this?



I think this has only started happening with build 3.0.4624.



Neil



Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] 



-
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


Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Chad Miles
next = nest*

sorry.

On Mon, Nov 24, 2008 at 12:17 PM, Chad Miles <[EMAIL PROTECTED]> wrote:

> Could you drop the root property and dir, and then next the IIS dir(s)
> under TARGETDIR.  That would probalby have to assume that C:\ is the logical
> drive w/ most available space I believe.
>
> Not for certain on this, but I think it would work.
>
>   On Mon, Nov 24, 2008 at 12:11 PM, David Bartmess <
> [EMAIL PROTECTED]> wrote:
>
>> I've got to install some files in the C:\INetpub\MyProgram directory for
>> a website, but I'm getting an error stating
>>
>> Error 1 The Directory with Id 'Root' is not a valid root directory.
>> There may only be a single root directory per product or module and its
>> Id attribute value must be 'TARGETDIR' and its Name attribute value must
>> be 'SourceDir'.
>> C:\Dev\Code\WSOD\Apps\Products\Maestro\Firm\Installer\Trunk\Wix\MaestroS
>> erverMain.wxs 35 1 MaestroServer
>>
>> My Directory structure is below. How do I change it to work?
>>
>> Thanks!
>>
>> 
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>> David Bartmess
>>
>> Wall Street On Demand
>>
>> [EMAIL PROTECTED] 
>>
>> direct: 303.417. x585
>>
>> cell: 303.883-9117
>>
>> fax: 303.444.2586
>>
>>
>> -
>> 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


Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Chad Miles
Could you drop the root property and dir, and then next the IIS dir(s) under
TARGETDIR.  That would probalby have to assume that C:\ is the logical drive
w/ most available space I believe.

Not for certain on this, but I think it would work.

On Mon, Nov 24, 2008 at 12:11 PM, David Bartmess
<[EMAIL PROTECTED]>wrote:

> I've got to install some files in the C:\INetpub\MyProgram directory for
> a website, but I'm getting an error stating
>
> Error 1 The Directory with Id 'Root' is not a valid root directory.
> There may only be a single root directory per product or module and its
> Id attribute value must be 'TARGETDIR' and its Name attribute value must
> be 'SourceDir'.
> C:\Dev\Code\WSOD\Apps\Products\Maestro\Firm\Installer\Trunk\Wix\MaestroS
> erverMain.wxs 35 1 MaestroServer
>
> My Directory structure is below. How do I change it to work?
>
> Thanks!
>
> 
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
>
>
>
> David Bartmess
>
> Wall Street On Demand
>
> [EMAIL PROTECTED] 
>
> direct: 303.417. x585
>
> cell: 303.883-9117
>
> fax: 303.444.2586
>
>
> -
> 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


Re: [WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread Rob Mensching
I encourage you to read through my series on the Directory table.  It will 
provide some foundation information that hopefully makes things a bit more 
clear:  
http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx
 (there are links going back to part 1).

-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 09:12
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to install into other than INSTALLDIR?

I've got to install some files in the C:\INetpub\MyProgram directory for
a website, but I'm getting an error stating

Error 1 The Directory with Id 'Root' is not a valid root directory.
There may only be a single root directory per product or module and its
Id attribute value must be 'TARGETDIR' and its Name attribute value must
be 'SourceDir'.
C:\Dev\Code\WSOD\Apps\Products\Maestro\Firm\Installer\Trunk\Wix\MaestroS
erverMain.wxs 35 1 MaestroServer

My Directory structure is below. How do I change it to work?

Thanks!











































David Bartmess

Wall Street On Demand

[EMAIL PROTECTED] 

direct: 303.417. x585

cell: 303.883-9117

fax: 303.444.2586


-
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


[WiX-users] How to install into other than INSTALLDIR?

2008-11-24 Thread David Bartmess
I've got to install some files in the C:\INetpub\MyProgram directory for
a website, but I'm getting an error stating
 
Error 1 The Directory with Id 'Root' is not a valid root directory.
There may only be a single root directory per product or module and its
Id attribute value must be 'TARGETDIR' and its Name attribute value must
be 'SourceDir'.
C:\Dev\Code\WSOD\Apps\Products\Maestro\Firm\Installer\Trunk\Wix\MaestroS
erverMain.wxs 35 1 MaestroServer

My Directory structure is below. How do I change it to work? 
 
Thanks!
 








































 

David Bartmess

Wall Street On Demand 

[EMAIL PROTECTED]  

direct: 303.417. x585

cell: 303.883-9117

fax: 303.444.2586

 
-
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


Re: [WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie

Thanks, marking the property as Secure fixed the problem instantly...

Worked a treat...

On Mon, Nov 24, 2008 at 4:15 PM, Rob Mensching-2 (via Nabble)
<[EMAIL PROTECTED]> wrote:
> A verbose log file will show you when the Property is getting modified.
>  Also, it is possible you're trying to use the Property on the server side
> of the Windows Installer so the Property would need to be marked
> Secure="yes".
>
> -Original Message-
> From: hegsie [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2008 05:20
> To: [EMAIL PROTECTED]
> Subject: [WiX-users] Property reset to default after installfinialize
>
>
> Hi,
> I am trying to get information from the user to be used inside a CA after
> the installfinalize action in the InstallExecuteSequence...
>
> I have set up my own dialog with edit controls as follows...
>  Height="18" Property="SqlServerAddress"/>
>
> but during th installfinalizeaction the property SqlServerAddress is always
> set back to the default.  Is there something I'm missing here? I checked the
> value of the property inside the dialog and it seems fine, why does it get
> reset once exiting this dialog? Is there some way to get around this?
>
> Please Help I'm getting desperate...
> --
> View this message in context:
> http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572040p1572040.html
> Sent from the error LGHT0282 mailing list archive at Nabble.com.
>
>
> -
> 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
> [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> 
> This email is a reply to your post @
> http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572040p1572651.html
> You can reply by email or by visting the link above.
>
>



-- 
The significant problems we face cannot be solved by the same level of
thinking that created them.
-- Albert Einstein

blog:http://bensafricanadventure.blogspot.com
phone: +447767-322-122

-- 
View this message in context: 
http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572040p1572790.html
Sent from the error LGHT0282 mailing list archive at Nabble.com.
-
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


Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Kevin Richardson
You probably want the directory tree to look like this:

> 
>   
> 
>   
   






   ...
   
   ...



   ...
   
   ...



-kevin


On Nov 24, 2008, at 9:23 AM, [EMAIL PROTECTED]  
wrote:

> Date: Mon, 24 Nov 2008 21:25:05 +0800
> From: "Jianjun An (Person Consulting)" <[EMAIL PROTECTED]>
> Subject: [WiX-users] How can I get the correct INSTALLDIR at the
>   beginning   of uninstall?
> To: "wix-users@lists.sourceforge.net"
>   
> Message-ID:
>   <[EMAIL PROTECTED] 
> >
>   
> Content-Type: text/plain; charset="us-ascii"
>
> Hi:
>
> I wrote a MSI file to install my application. It can let user select  
> install path through BrowseDlg. But once user changes the default  
> install path, it cannot remove any file which the MSI has installed.
>
> I checked the installation log file. I found that it cannot get the  
> correct INSTALLDIR at the beginning of uninstall. The path it got  
> still is the default value "c:\programe files\myappname"
> I found an awkward solution: write the INSTALLDIR to registry and  
> read it when uninstalling.
>
> Is there any other better solution?
>
>
> A piece of wxs code looks like following:
>
> 
>  
>
>  
>   < File . />
> 
>
>  
> 
>
> 
>   Root="HKLM" Key="SOFTWARE\myappname"
>Name="InstallDir" Type="raw"/>
> 


-
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


Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Chris Matthews
Yes it passes all ICEs. It is just all the other parts of my imported
msi that don't currently pass!

Christopher Matthews

-Original Message-
From: Richard [mailto:[EMAIL PROTECTED] 
Sent: 24 November 2008 15:34
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action Setting a Control value


In article
<[EMAIL PROTECTED]>,
"Chris Matthews" <[EMAIL PROTECTED]>  writes:

>  Height="16" Property="LFM_SERVER_ROOT" TabSkip="no" Disabled="yes" >
>   
> 

Does this produce an MSI that passes all ICEs?  I'm curious because
while
I've done the no-op "set a property to its existing value" thing before,
I never did the subscription you list above.  The no-op property set
always seemed to be enough, but its been a while since I messed with MSI
UI at this level.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
  

Legalize Adulthood! 


-
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
Disclaimer and Confidentiality Notice
This email and any attachment are intended only for the use of the individual 
or entity to which it is directed and may contain information which is 
confidential.  Access, copying or re-use of information in or attached to this 
email by anyone else other than the intended recipient is strictly prohibited.  
If you have received this communication and you are not the intended recipient 
or the employee or agent responsible for delivering this email to the intended 
recipient, please inform IRIS on telephone number 01753 212200 and then delete 
this email and any attachments from your system.
 
IRIS makes no representation or warranty as to the absence of viruses in this 
email or any attachments and we may monitor emails sent to and from our server.
Any views or opinions presented in this email or attachment are solely those of 
the author and do not necessarily represent those of IRIS, its parent, 
associates, subsidiaries or affiliates, unless otherwise expressly indicated.
 
Laserform International Limited  |  Registered in England: 2403332  |  
Registered office: Integra House, 138-140 Alexandra Road, London, SW19 7JY

-
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


Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
Great. I will add the request, definitely !


On Mon, Nov 24, 2008 at 6:12 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> Feel free to file a feature request.  Seems like something that should be
> configurable.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2008 07:23
> To: General discussion for Windows Installer XML toolset.
>  Subject: Re: [WiX-users] Sql connection timeout
>
> Just to close this case:  - in case somebody is watching -
>
> I reviewed the SQL custom actions in detail and the timeout IS NOT
> specified. Although in most OLEDBSQL implementations (VB, 
> ADO.NET,
> etc), the
> default seems to be something between 15-60 secs, C++ seems to set the
> default to 0 - no limits -
>
> In order to have a "real life" test I put to run an infinite loop script,
> so
> far it has been running for 3 hours (I plan to leave it running until
> tomorrow morning). I took the same script into InstallShield with the
> default timeout (30 secs), and I got the timeout error message as expected.
>
> Eitan
>
>
>
> On Thu, Nov 20, 2008 at 6:58 PM, Rob Mensching
> <[EMAIL PROTECTED]>wrote:
>
> > 1.  No idea what the default is.
> >
> > 2.  No ability to change it in the CustomActions.
> >
> > -Original Message-
> > From: Eitan Behar [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 20, 2008 05:49
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Sql connection timeout
> >
> > Hi,
> >
> > Please, do you know what is the default timeout for the Sql connections ?
> > And if there is an attribute to change it?
> >
> > Thanks,
> >
> > Eitan
> > -
> > 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
>
>
> -
> 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


Re: [WiX-users] terminate installation based on the CA result

2008-11-24 Thread Rob Mensching
CustomAction/@Return

-Original Message-
From: Egor Sinkevich [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 03:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] terminate installation based on the CA result

Hi All!

We're executing several custom actions after files installed (from custom 
action we're registering some files and doing other things)

  
  




Sometimes custom action returns ActionResult.Failure but installation continues 
like there was no error.

Questions:

1.  Why installation continue even if custom action return ActionResult.Failure?

2.   How is this possible to roll back installation if custom action fails?

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


Re: [WiX-users] Property reset to default after installfinialize

2008-11-24 Thread Rob Mensching
A verbose log file will show you when the Property is getting modified.  Also, 
it is possible you're trying to use the Property on the server side of the 
Windows Installer so the Property would need to be marked Secure="yes".

-Original Message-
From: hegsie [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 05:20
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Property reset to default after installfinialize


Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence...

I have set up my own dialog with edit controls as follows...


but during th installfinalizeaction the property SqlServerAddress is always
set back to the default.  Is there something I'm missing here? I checked the
value of the property inside the dialog and it seems fine, why does it get
reset once exiting this dialog? Is there some way to get around this?

Please Help I'm getting desperate...
--
View this message in context: 
http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572040p1572040.html
Sent from the error LGHT0282 mailing list archive at Nabble.com.


-
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


Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Rob Mensching
Feel free to file a feature request.  Seems like something that should be 
configurable.

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 07:23
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Sql connection timeout

Just to close this case:  - in case somebody is watching -

I reviewed the SQL custom actions in detail and the timeout IS NOT
specified. Although in most OLEDBSQL implementations (VB, ADO.NET, etc), the
default seems to be something between 15-60 secs, C++ seems to set the
default to 0 - no limits -

In order to have a "real life" test I put to run an infinite loop script, so
far it has been running for 3 hours (I plan to leave it running until
tomorrow morning). I took the same script into InstallShield with the
default timeout (30 secs), and I got the timeout error message as expected.

Eitan



On Thu, Nov 20, 2008 at 6:58 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> 1.  No idea what the default is.
>
> 2.  No ability to change it in the CustomActions.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2008 05:49
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Sql connection timeout
>
> Hi,
>
> Please, do you know what is the default timeout for the Sql connections ?
> And if there is an attribute to change it?
>
> Thanks,
>
> Eitan
> -
> 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


-
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


Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Richard

In article <[EMAIL PROTECTED]>,
"Chris Matthews" <[EMAIL PROTECTED]>  writes:

>  Height="16" Property="LFM_SERVER_ROOT" TabSkip="no" Disabled="yes" >
>   
> 

Does this produce an MSI that passes all ICEs?  I'm curious because while
I've done the no-op "set a property to its existing value" thing before,
I never did the subscription you list above.  The no-op property set
always seemed to be enough, but its been a while since I messed with MSI
UI at this level.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
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


Re: [WiX-users] Sql connection timeout

2008-11-24 Thread Eitan Behar
Just to close this case:  - in case somebody is watching -

I reviewed the SQL custom actions in detail and the timeout IS NOT
specified. Although in most OLEDBSQL implementations (VB, ADO.NET, etc), the
default seems to be something between 15-60 secs, C++ seems to set the
default to 0 - no limits -

In order to have a "real life" test I put to run an infinite loop script, so
far it has been running for 3 hours (I plan to leave it running until
tomorrow morning). I took the same script into InstallShield with the
default timeout (30 secs), and I got the timeout error message as expected.

Eitan



On Thu, Nov 20, 2008 at 6:58 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:

> 1.  No idea what the default is.
>
> 2.  No ability to change it in the CustomActions.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2008 05:49
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Sql connection timeout
>
> Hi,
>
> Please, do you know what is the default timeout for the Sql connections ?
> And if there is an attribute to change it?
>
> Thanks,
>
> Eitan
> -
> 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


Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Chris Matthews
I figured out how to do it:-

When the user selects the browse button the code I sent previously is
run and sets the LFM_SERVER_ROOT property. I then publish a property
change event as described on MSDN
(http://msdn.microsoft.com/en-us/library/aa371695(VS.85).aspx) and the
control I want to change subscribes to this event and the text will be
updated. I noticed that if you changed the text in the control before
running the custom action then the update didn't work so I have disabled
it so the user can only change it via the custom action, which is okay
in my scenario.


1
  1


  


Christopher Matthews

-Original Message-
From: Chris Matthews [mailto:[EMAIL PROTECTED] 
Sent: 24 November 2008 08:39
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action Setting a Control value

Hi,

I do tie the control to the LFM_Server_Root property, but it still
doesn't update.

What I want to do is on a button click fire a custom control. Within
that custom control set a property and when the custom control has
finished I want this value to appear on the dialog that the button was
pressed on. Any ideas?

Christopher Matthews

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 21 November 2008 20:47
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action Setting a Control value

Chris Matthews wrote:
> Within the Custom action I set LFM_SERVER_ROOT and I want this value
to
> be written to the MachineName control when I return back from the
action
> how is this done?
>   

MSI supports updating a control "live" only for the property it's tied
to.

-- 
sig://boB
http://joyofsetup.com/




-
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
Disclaimer and Confidentiality Notice
This email and any attachment are intended only for the use of the
individual or entity to which it is directed and may contain information
which is confidential.  Access, copying or re-use of information in or
attached to this email by anyone else other than the intended recipient
is strictly prohibited.  If you have received this communication and you
are not the intended recipient or the employee or agent responsible for
delivering this email to the intended recipient, please inform IRIS on
telephone number 01753 212200 and then delete this email and any
attachments from your system.
 
IRIS makes no representation or warranty as to the absence of viruses in
this email or any attachments and we may monitor emails sent to and from
our server.
Any views or opinions presented in this email or attachment are solely
those of the author and do not necessarily represent those of IRIS, its
parent, associates, subsidiaries or affiliates, unless otherwise
expressly indicated.
 
Laserform International Limited  |  Registered in England: 2403332  |
Registered office: Integra House, 138-140 Alexandra Road, London, SW19
7JY


-
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
Disclaimer and Confidentiality Notice
This email and any attachment are intended only for the use of the individual 
or entity to which it is directed and may contain information which is 
confidential.  Access, copying or re-use of information in or attached to this 
email by anyone else other than the intended recipient is strictly prohibited.  
If you have received this communication and you are not the intended recipient 
or the employee or agent responsible for delivering this email to the intended 
recipient, please inform IRIS on telephone number 01753 212200 and then delete 
this email and any attachments from your system.
 
IRIS makes no representation or warranty as to the absence of viruses in this 
email or any attachments and we may monitor emails sent to and from our server.
Any views or opinions presented in this email or attachment are solely those of 
the author and do not necessarily represent those of IRIS, its parent, 
associates, subsidiaries or affiliates, unless otherwise expressly indicated.
 
Laserform International Limited 

Re: [WiX-users] Issue with Appsearch Functionality in Wix

2008-11-24 Thread Richard

In article <[EMAIL PROTECTED]>,
"Natrayan, Venkatesh IN BLR SISL" <[EMAIL PROTECTED]>  writes:

> But when I run the compiled MSI file, it is displaying the Launch
> condition error, even if the required pre-requisite file is present or
> not present in the machine.

This means your search is not finding the file.  Run with a verbose log
and look at portion of the log where AppSearch is running.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
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


[WiX-users] backuponinstall

2008-11-24 Thread Yu, Brian
Hi there

 

I am trying to backup all files under INSTALLDIR before installation

M plan is to use custom action to run a bat file that does the copying.

 

I tried running the bat file as is and deploying the bat file itself
first

The problem is that MSI InstallFiles action install all files before my
custom action kicks in and  overwrites my old binaries

 

Any help is appreciated

 

Brian

 

 


_
This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are 
incorporated under the laws of England and Wales (company no. 05677531 and VAT 
registration no. 872810613). Our registered office is at 155 Bishopsgate, 
London EC2M 3TQ. This e-mail and/or any attached documents may contain 
privileged and confidential information and should only be read by those 
persons to whom this e-mail is addressed. Use by other than intended recipients 
is prohibited. If you are not the addressee, you must not copy, distribute, 
disclose or use any of the information in it. If you have received it in error, 
please delete it and immediately notify the sender. EASYSCREEN reserves the 
right to monitor all e-mail messages passing through its network. As we cannot 
guarantee the genuineness, accuracy or completeness of the information 
contained in this message, the statements set forth are not legally binding.
-
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


[WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-24 Thread Jianjun An (Person Consulting)
Hi:

I wrote a MSI file to install my application. It can let user select install 
path through BrowseDlg. But once user changes the default install path, it 
cannot remove any file which the MSI has installed.

I checked the installation log file. I found that it cannot get the correct 
INSTALLDIR at the beginning of uninstall. The path it got still is the default 
value "c:\programe files\myappname"
I found an awkward solution: write the INSTALLDIR to registry and read it when 
uninstalling.

Is there any other better solution?


A piece of wxs code looks like following:


  

  
   < File . />


  



   




Thanks.

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


[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie

Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence... 

I have set up my own dialog with edit controls as follows...


but during th installfinalizeaction the property SqlServerAddress is always
set back to the default.  Is there something I'm missing here? I checked the
value of the property inside the dialog and it seems fine, why does it get
reset once exiting this dialog? Is there some way to get around this?

Please Help I'm getting desperate...
-- 
View this message in context: 
http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572038p1572038.html
Sent from the error LGHT0282 mailing list archive at Nabble.com.


-
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


[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie

Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence... 

I have set up my own dialog with edit controls as follows...


but during th installfinalizeaction the property SqlServerAddress is always
set back to the default.  Is there something I'm missing here? I checked the
value of the property inside the dialog and it seems fine, why does it get
reset once exiting this dialog? Is there some way to get around this?

Please Help I'm getting desperate...
-- 
View this message in context: 
http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572039p1572039.html
Sent from the error LGHT0282 mailing list archive at Nabble.com.


-
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


[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie

Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence... 

I have set up my own dialog with edit controls as follows...


but during th installfinalizeaction the property SqlServerAddress is always
set back to the default.  Is there something I'm missing here? I checked the
value of the property inside the dialog and it seems fine, why does it get
reset once exiting this dialog? Is there some way to get around this?

Please Help I'm getting desperate...
-- 
View this message in context: 
http://n2.nabble.com/Property-reset-to-default-after-installfinialize-tp1572040p1572040.html
Sent from the error LGHT0282 mailing list archive at Nabble.com.


-
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


[WiX-users] terminate installation based on the CA result

2008-11-24 Thread Egor Sinkevich
Hi All!

We're executing several custom actions after files installed (from custom 
action we're registering some files and doing other things)

  
  




Sometimes custom action returns ActionResult.Failure but installation continues 
like there was no error.

Questions:

1.  Why installation continue even if custom action return ActionResult.Failure?

2.   How is this possible to roll back installation if custom action fails?

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


Re: [WiX-users] adding help using the vsextension

2008-11-24 Thread Simon Dahlbacka
On Mon, Nov 24, 2008 at 12:45 PM, Sean Farrow
<[EMAIL PROTECTED]> wrote:
> Hi:
> Does the vs extension allow me to add help to any namespace supported by
> document explorer?

AFAIK, yes.. but there has been issues, not sure if they are fixed or not.

> If I use this extension, do I require the .net
> framework installed on the target user system.

The extension itself does not require .net framework installed. But
didn't document exporer first appear in vs 2005 which in turn implies?
.NET 2.0 framework.

/Simon

> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 3635 (20081124) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> -
> 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


[WiX-users] adding help using the vsextension

2008-11-24 Thread Sean Farrow
Hi: 
Does the vs extension allow me to add help to any namespace supported by
document explorer? If I use this extension, do I require the .net
framework installed on the target user system.
Cheers
Sean.


__ Information from ESET NOD32 Antivirus, version of virus
signature database 3635 (20081124) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

-
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


Re: [WiX-users] XML indentation issue after using XMLCONFIG

2008-11-24 Thread Davidovitz, Ran
Good point, I thought something was already implemented

-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 23, 2008 7:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XML indentation issue after using XMLCONFIG


In article <[EMAIL PROTECTED]>,
"Davidovitz, Ran" <[EMAIL PROTECTED]>  writes:

> This is only a cosmetic constrain, so that my client will be able to
> view it in notepad and not require new tool

Well, notepad will view it, it just won't have pretty indenting.

You could, of course, contribute to WiX by adding support for indented
formatting in xmlconfig.  I think this came up before, but the person
never made the contribution, so we still don't have the feature.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
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 electronic message may contain proprietary and confidential information of 
Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or
entity(ies) named above.  If you are not the intended recipient (or authorized 
to receive this e-mail for the intended recipient), you may not use, copy, 
disclose or distribute to anyone this message or any information contained in 
this message.  If you have received this electronic message in error, please 
notify us by replying to this e-mail.


-
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


Re: [WiX-users] Custom Action Setting a Control value

2008-11-24 Thread Chris Matthews
Hi,

I do tie the control to the LFM_Server_Root property, but it still
doesn't update.

What I want to do is on a button click fire a custom control. Within
that custom control set a property and when the custom control has
finished I want this value to appear on the dialog that the button was
pressed on. Any ideas?

Christopher Matthews

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 21 November 2008 20:47
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action Setting a Control value

Chris Matthews wrote:
> Within the Custom action I set LFM_SERVER_ROOT and I want this value
to
> be written to the MachineName control when I return back from the
action
> how is this done?
>   

MSI supports updating a control "live" only for the property it's tied
to.

-- 
sig://boB
http://joyofsetup.com/




-
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
Disclaimer and Confidentiality Notice
This email and any attachment are intended only for the use of the individual 
or entity to which it is directed and may contain information which is 
confidential.  Access, copying or re-use of information in or attached to this 
email by anyone else other than the intended recipient is strictly prohibited.  
If you have received this communication and you are not the intended recipient 
or the employee or agent responsible for delivering this email to the intended 
recipient, please inform IRIS on telephone number 01753 212200 and then delete 
this email and any attachments from your system.
 
IRIS makes no representation or warranty as to the absence of viruses in this 
email or any attachments and we may monitor emails sent to and from our server.
Any views or opinions presented in this email or attachment are solely those of 
the author and do not necessarily represent those of IRIS, its parent, 
associates, subsidiaries or affiliates, unless otherwise expressly indicated.
 
Laserform International Limited  |  Registered in England: 2403332  |  
Registered office: Integra House, 138-140 Alexandra Road, London, SW19 7JY

-
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