[WiX-users] Single patch for multiple products

2008-02-15 Thread Adrian Gantoi
Doesn't anybody have a clue of whats wrong with this ?
Why is the wrong transform installed ?
And if I can create a single patch for multiple products (not installable at 
the same time) if I have in each of them a component with the same Id but 
different GUID ?


- Original Message 
From: Adrian Gantoi [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Tuesday, February 12, 2008 12:35:42 PM
Subject: [WiX-users] Single patch for multiple products


Hi all,
 
Sorry for being so long in describing my problem :), but...
I encountered a problem with applying a patch in the following scenario.
I have a setup project with 2 configurations which I build.
Configuration 1
- the product has the Product Id GUID1
- the product has a component with Id COMP and guid GUIDCOMP1
this component installs a txt file with Id FILE from source dir DIR1
Configuration 2
- the product has the Product Id GUID2
- the product has a component with Id COMP and guid GUIDCOMP2
this component installs a txt file with Id FILE from source dir DIR2
This means:
- I have two products (distinct product id)
- I install from each product a component with the same Id but different GUID
- each component installs a file called FILE.TXT in the same folder (the 
contents of the txt file is different between products)
- the two products cannot be installed at the same time
I tryied to create a patch for both products after changing the txt files 
(source dir changed from DIR1/DIR2 to DIRUPD1/DIRUPD2)
I used WiX tools only for the patch building process like below:
REM ---
REM Patch Build - Differences
REM ---
%WixDir%\torch.exe -p -xi Config1\Setup.wixpdb UPDConfig1\Setup.wixpdb -out 
diff1.wixmst
%WixDir%\torch.exe -p -xi Config2\Setup.wixpdb UPDConfig2\Setup.wixpdb -out 
diff2.wixmst
REM ---
REM Patch build - Compile patch
REM ---
%WixDir%\candle.exe Patch.wxs
REM ---
REM Patch build - Link patch
REM ---
%WixDir%\light.exe Patch.wixobj -out Patch.wixmsp
REM ---
REM Patch build - Create patch
REM ---
%WixDir%\pyro.exe Patch.wixmsp -out Patch.msp -t RTM diff1.wixmst -t RTM 
diff2.wixmst
The Patch.wxs file contains a ComponentRef to the Id of the tricky component(s) 
and the general contents is below:
Patch AllowRemoval=yes...
   Classification=Hotfix
Media Id=1 Cabinet=RTM.cab
   PatchBaseline Id=RTM/
/Media
PatchFamilyRef Id=PatchFamily/
/Patch
Fragment
PatchFamily Id='PatchFamily' Version='1.0.0.0' Supersede='yes'
   ComponentRef Id=COMP/
 /PatchFamily
/Fragment
The result .msp file, when applied, will update my FILE.TXT installed from the
RTM Config1 product to the FILE.TXT included in my
updated Config2 product.
Installing the patch with logging options shows me something which I cannot 
understand:
...: Looking for patch transform: RTM.1
...: Validating transform 'RTM.1' with validation bits 0x922
...: Note: 1: 2746 2: RTM.1 3: C:\WINDOWS\Installer\49fc6a.msi 4: GUID2 5: 
GUID1 
...: 1: 2746 2: RTM.1 3: C:\WINDOWS\Installer\49fc6a.msi 4: GUID2 5: GUID1 
...: Note: 1: 2729 
DEBUG: Error 2746:  Transform RTM.1 invalid for package 
C:\WINDOWS\Installer\49fc6a.msi. Expected product GUID2, found product GUID1.
...: Skipping validation for patch transform #RTM.1.  Will not apply because 
previous transform was invalid
...: Looking for patch transform: RTM.2
...: Validating transform 'RTM.2' with validation bits 0x922
...: Transform 'RTM.2' is valid.
I installed the product with GUID1, yet somehow the patch is looking only for 
the product with GUID2 and applying the transform for GUID2 product.
Can somebody let me know where I made the mistake (the identical component id 
??)
and if I have any chance of patching FILE.TXT with the correct one from a 
single MSP and
without changing the identical component id ?
 
Thanks,
Adrian



Looking for last minute shopping deals? Find them fast with Yahoo! Search.


-Inline Attachment Follows-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


-Inline Attachment Follows-

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  

Be a better 

Re: [WiX-users] Localization with WiX3

2008-02-15 Thread Markus Kuehni
 

Bob Arnson wrote:
 Because, as you note, they don't work without modification.

Ok, but then you should probably remove WixUI_de-de.wxl as well. It was very
confusing for me to have German *half* working and French *not at all*. 

Whatever, the thread will hopefully clarify this for others.

And thanks to all of you for all the efforts! 

_Mark



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Service @vista

2008-02-15 Thread SaiTeja

Hi,

Thanks for response

Because the service has dependencies, I created one merge module.msi(with
all x86 including debug mergemodules) and installed. After that I installed
my installer. This time installation is successfully, But service is not
started after reboot automatically(service start type is auto). But when I
start service manually, service is started.

I am testing this in Virtual Images. The above case is working for vista
ultimate virtual image. But for Vista Enterprise and Business virtual images
it is not working.

So In vista ultimate it is working means. there is no problem with service
and component.

Can you tell me, what is the wrong here. Is it the problem with virtual
image or service?

Why service is not started automatically after reboot, even service type is
auto
Why it is started when I try to start manually from services.msc after
installation.


Thanks in advance,





Rob Hamflett wrote:
 
 It sounds like your service just doesn't work under Vista.  Can you run it
 as a normal exe?  Have 
 you tried putting any logging in your service to see how far it gets?
 
 Rob
 
 SaiTeja wrote:
 Hi,
 
 I have a service installed on windows vista. The startup type for this
 service is Automatic. The service is not starting after reboot. When i
 try
 starting the service from Service Control Manager, the error is something
 like Windows could not start the service on Local Computer Error 1067:
 The
 process terminated unexpectedly. The event logs just displays The
 service
 terminated unexpectedly
 
 Following is my WIX Code.
 
 Component Id=service.exe
 Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
 Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
 File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1 Source=service.exe
 /
 ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
 ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
 ServiceDependency Id=EventLog /
 ServiceDependency Id=RpcSs /
 ServiceDependency Id=Dnscache /
 ServiceDependency Id=CryptSvc /
 ServiceDependency Id=TermService /
 /ServiceInstall
  /Component  
 
 
 CustomAction Id=StartService Return=check Execute=commit
 impersonate=noExeCommand=startservice FileKey=xyz.exe
 /CustomAction
 
 InstallExecuteSequence
 InstallInitialize Sequence=1500/
 StopServices Sequence=1900versionNT/StopServices
 DeleteServices Sequence=2200versionNT/DeleteServices
 --
 InstallServices Sequence=5800versionNT/InstallServices
 StartServices Sequence=5900versionNT/StartServices
 Custom Action=StartService Sequence=5902Not Installed/Custom
 InstallFinalize Sequence=6500/
 /InstallExecuteSequence 
 
 property ID = ALLUSers1/property
 
 Here I used custom action type as Commit(commit custom actions executes
 after installfinalize), because in Vista the runtime will NOT be
 accessible
 to xyz.exe (the xyz.exe depends on the C runtime And iam installing the C
 runtime in the installer via merge module) until *after* the installer
 completes installation. 
 
 With Custom action type Deffered, custom action is failing while
 installation.
 With custom action type Commit, installation is sucsseful, but service
 is
 not started.
 SOme times when I try manually, it is starting, some times not.
 I want per-machine installation
 
 The above code is working fine in XP, but failing in Vista
 
 Any Ideas???
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Service-%40vista-tp15480061p15496164.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Service @vista

2008-02-15 Thread Rob Hamflett
Does the event manager tell you anything?  After you've started the service 
manually from the 
services panel, do future attempts to install it succeed (after you've 
uninstalled it, obviously).

Rob

SaiTeja wrote:
 Hi,
 
 Thanks for response
 
 Because the service has dependencies, I created one merge module.msi(with
 all x86 including debug mergemodules) and installed. After that I installed
 my installer. This time installation is successfully, But service is not
 started after reboot automatically(service start type is auto). But when I
 start service manually, service is started.
 
 I am testing this in Virtual Images. The above case is working for vista
 ultimate virtual image. But for Vista Enterprise and Business virtual images
 it is not working.
 
 So In vista ultimate it is working means. there is no problem with service
 and component.
 
 Can you tell me, what is the wrong here. Is it the problem with virtual
 image or service?
 
 Why service is not started automatically after reboot, even service type is
 auto
 Why it is started when I try to start manually from services.msc after
 installation.
 
 
 Thanks in advance,
 
 
 
 
 
 Rob Hamflett wrote:
 It sounds like your service just doesn't work under Vista.  Can you run it
 as a normal exe?  Have 
 you tried putting any logging in your service to see how far it gets?

 Rob

 SaiTeja wrote:
 Hi,

 I have a service installed on windows vista. The startup type for this
 service is Automatic. The service is not starting after reboot. When i
 try
 starting the service from Service Control Manager, the error is something
 like Windows could not start the service on Local Computer Error 1067:
 The
 process terminated unexpectedly. The event logs just displays The
 service
 terminated unexpectedly

 Following is my WIX Code.

 Component Id=service.exe
 Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
 Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
 File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1 Source=service.exe
 /
 ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
 ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
 ServiceDependency Id=EventLog /
 ServiceDependency Id=RpcSs /
 ServiceDependency Id=Dnscache /
 ServiceDependency Id=CryptSvc /
 ServiceDependency Id=TermService /
 /ServiceInstall
  /Component  


 CustomAction Id=StartService Return=check Execute=commit
 impersonate=noExeCommand=startservice FileKey=xyz.exe
 /CustomAction

 InstallExecuteSequence
 InstallInitialize Sequence=1500/
 StopServices Sequence=1900versionNT/StopServices
 DeleteServices Sequence=2200versionNT/DeleteServices
 --
 InstallServices Sequence=5800versionNT/InstallServices
 StartServices Sequence=5900versionNT/StartServices
 Custom Action=StartService Sequence=5902Not Installed/Custom
 InstallFinalize Sequence=6500/
 /InstallExecuteSequence 

 property ID = ALLUSers1/property

 Here I used custom action type as Commit(commit custom actions executes
 after installfinalize), because in Vista the runtime will NOT be
 accessible
 to xyz.exe (the xyz.exe depends on the C runtime And iam installing the C
 runtime in the installer via merge module) until *after* the installer
 completes installation. 

 With Custom action type Deffered, custom action is failing while
 installation.
 With custom action type Commit, installation is sucsseful, but service
 is
 not started.
 SOme times when I try manually, it is starting, some times not.
 I want per-machine installation

 The above code is working fine in XP, but failing in Vista

 Any Ideas???

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Service @vista

2008-02-15 Thread Ryan O'Neill
I think it is highly unlikely that the problem is from the MSI/WiX and more
to do with an environment issue such as user permissions or missing
libraries (different versions of Vista will have different base software and
this will affect the libraries shipped with the system). It looks like your
service is trying to start and falling over immediately, check the event
logs.

Also, I imagine that virtual machine images are protected against corruption
so I would not suspect a problem with that.

If I was troubleshooting this I would;
1) Run sysinternals process monitor and look for any file access failures.
2) Set up logging and log all of the startup processes to a file or the
event log (this might also fail due to security).
3) Comment out as much code as possible.
4) Clean all event logs and try again. There is probably an error in there
somewhere.

Your root cause is either;
a) Missing DLL or other resource.
b) Not enough permission.

Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
Sent: 15 February 2008 09:33
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Service @vista


Hi,
   
Thanks for response

Because the service has dependencies, I created one merge module.msi(with
all x86 including debug mergemodules) and installed. After that I installed
my installer. This time installation is successfully, But service is not
started after reboot automatically(service start type is auto). But when I
start service manually, service is started.

I am testing this in Virtual Images. The above case is working for vista
ultimate virtual image. But for Vista Enterprise and Business virtual images
it is not working.

So In vista ultimate it is working means. there is no problem with service
and component.

Can you tell me, what is the wrong here. Is it the problem with virtual
image or service?

Why service is not started automatically after reboot, even service type is
auto
Why it is started when I try to start manually from services.msc after
installation.


Thanks in advance,





Rob Hamflett wrote:
 
 It sounds like your service just doesn't work under Vista.  Can you run it
 as a normal exe?  Have 
 you tried putting any logging in your service to see how far it gets?
 
 Rob
 
 SaiTeja wrote:
 Hi,
 
 I have a service installed on windows vista. The startup type for this
 service is Automatic. The service is not starting after reboot. When i
 try
 starting the service from Service Control Manager, the error is something
 like Windows could not start the service on Local Computer Error 1067:
 The
 process terminated unexpectedly. The event logs just displays The
 service
 terminated unexpectedly
 
 Following is my WIX Code.
 
 Component Id=service.exe
 Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
 Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
 File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1 Source=service.exe
 /
 ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
 ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
 ServiceDependency Id=EventLog /
 ServiceDependency Id=RpcSs /
 ServiceDependency Id=Dnscache /
 ServiceDependency Id=CryptSvc /
 ServiceDependency Id=TermService /
 /ServiceInstall
  /Component  
 
 
 CustomAction Id=StartService Return=check Execute=commit
 impersonate=noExeCommand=startservice FileKey=xyz.exe
 /CustomAction
 
 InstallExecuteSequence
 InstallInitialize Sequence=1500/
 StopServices Sequence=1900versionNT/StopServices
 DeleteServices Sequence=2200versionNT/DeleteServices
 --
 InstallServices Sequence=5800versionNT/InstallServices
 StartServices Sequence=5900versionNT/StartServices
 Custom Action=StartService Sequence=5902Not Installed/Custom
 InstallFinalize Sequence=6500/
 /InstallExecuteSequence 
 
 property ID = ALLUSers1/property
 
 Here I used custom action type as Commit(commit custom actions executes
 after installfinalize), because in Vista the runtime will NOT be
 accessible
 to xyz.exe (the xyz.exe depends on the C runtime And iam installing the C
 runtime in the installer via merge module) until *after* the installer
 completes installation. 
 
 With Custom action type Deffered, custom action is failing while
 installation.
 With custom action type Commit, installation is sucsseful, but service
 is
 not started.
 SOme times when I try manually, it is starting, some times not.
 I want per-machine installation
 
 The above code is working fine in XP, but failing in Vista
 
 Any Ideas???
 
 
 -
 This SF.net email 

[WiX-users] Service in vista

2008-02-15 Thread SaiTeja

Hi,
   
This is regarding Vista Service.

Because the service.exe has dependencies, I created one merge
module.msi(with all x86 including debug mergemodules) and installed. After
that I installed my installer. This time installation is successfully, But
service is not started after reboot automatically(service start type is
auto). But when I start service manually, service is started.

I am testing this in Virtual Images. The above case is working for vista
ultimate virtual image. But for Vista Enterprise and Business virtual images
it is not working.

So In vista ultimate it is working means. there is no problem with service
and component.

Can you tell me, what is the wrong here. Is it the problem with virtual
image or service?

Why service is not started automatically after reboot, even service type is
auto
Why it is started when I try to start manually from services.msc after
installation.


Thanks in advance, 
-- 
View this message in context: 
http://www.nabble.com/Service-in-vista-tp15496953p15496953.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] validating media in multidisk installation

2008-02-15 Thread Balakrishna.BK
Hi,
  Can someone point me or send me code snippet to check the validity of 
inserted cd in multi-cd installation.
   
  when 1st cd is inserted, autorun will be executed and after installing the 
contents from 1st cd,  how to continue (prompt for) 2nd cd and to check if its 
correct cd.
   
  Thanks in Advance
  Balakrishna

   
-
 Forgot the famous last words? Access your message archive online. Click here.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Service @vista

2008-02-15 Thread SaiTeja

Some times it is wokring fine, some times not.

Event log says The Service  terminated unexpectedly



Rob Hamflett wrote:
 
 Does the event manager tell you anything?  After you've started the
 service manually from the 
 services panel, do future attempts to install it succeed (after you've
 uninstalled it, obviously).
 
 Rob
 
 SaiTeja wrote:
 Hi,
 
 Thanks for response
 
 Because the service has dependencies, I created one merge module.msi(with
 all x86 including debug mergemodules) and installed. After that I
 installed
 my installer. This time installation is successfully, But service is not
 started after reboot automatically(service start type is auto). But when
 I
 start service manually, service is started.
 
 I am testing this in Virtual Images. The above case is working for vista
 ultimate virtual image. But for Vista Enterprise and Business virtual
 images
 it is not working.
 
 So In vista ultimate it is working means. there is no problem with
 service
 and component.
 
 Can you tell me, what is the wrong here. Is it the problem with virtual
 image or service?
 
 Why service is not started automatically after reboot, even service type
 is
 auto
 Why it is started when I try to start manually from services.msc after
 installation.
 
 
 Thanks in advance,
 
 
 
 
 
 Rob Hamflett wrote:
 It sounds like your service just doesn't work under Vista.  Can you run
 it
 as a normal exe?  Have 
 you tried putting any logging in your service to see how far it gets?

 Rob

 SaiTeja wrote:
 Hi,

 I have a service installed on windows vista. The startup type for this
 service is Automatic. The service is not starting after reboot. When
 i
 try
 starting the service from Service Control Manager, the error is
 something
 like Windows could not start the service on Local Computer Error 1067:
 The
 process terminated unexpectedly. The event logs just displays The
 service
 terminated unexpectedly

 Following is my WIX Code.

 Component Id=service.exe
 Guid={8382F93F-A092-4344-9996-845A9F7DF9A7}
 Condition(NOT VersionNT=500) AND (NOT
 VersionNT64)/Condition
 File Id=service.exe Name=svc_1 KeyPath=yes
 LongName=service.exe Compressed=yes DiskId=1 Source=service.exe
 /
 ServiceControl Id=SvcEvent Name=Svc Stop=uninstall
 Remove=uninstall /
 ServiceInstall Id=NewServiceInstall2 Name=Svc
 DisplayName=Service Type=ownProcess Start=auto
 ErrorControl=normal
 Description=Enables the Client service. If this service is stopped,
 Client-protected content will be unavailable.
 ServiceDependency Id=EventLog /
 ServiceDependency Id=RpcSs /
 ServiceDependency Id=Dnscache /
 ServiceDependency Id=CryptSvc /
 ServiceDependency Id=TermService /
 /ServiceInstall
  /Component  


 CustomAction Id=StartService Return=check Execute=commit
 impersonate=noExeCommand=startservice FileKey=xyz.exe
 /CustomAction

 InstallExecuteSequence
 InstallInitialize Sequence=1500/
 StopServices Sequence=1900versionNT/StopServices
 DeleteServices Sequence=2200versionNT/DeleteServices
 --
 InstallServices Sequence=5800versionNT/InstallServices
 StartServices Sequence=5900versionNT/StartServices
 Custom Action=StartService Sequence=5902Not
 Installed/Custom
 InstallFinalize Sequence=6500/
 /InstallExecuteSequence 

 property ID = ALLUSers1/property

 Here I used custom action type as Commit(commit custom actions
 executes
 after installfinalize), because in Vista the runtime will NOT be
 accessible
 to xyz.exe (the xyz.exe depends on the C runtime And iam installing the
 C
 runtime in the installer via merge module) until *after* the installer
 completes installation. 

 With Custom action type Deffered, custom action is failing while
 installation.
 With custom action type Commit, installation is sucsseful, but
 service
 is
 not started.
 SOme times when I try manually, it is starting, some times not.
 I want per-machine installation

 The above code is working fine in XP, but failing in Vista

 Any Ideas???

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 

[WiX-users] FileShare Permissions - How to set Change

2008-02-15 Thread Rob Jarratt (MCS UK)
I am using WiX 2.0.4820 and I am trying to use the Permission element inside a 
FileShare element to set the share's permissions to be Change (as seen when 
you view share permissions in Windows Explorer). I have tried various 
combinations of attributes but cannot get anything to work except GenericAll 
which comes out as Full Control.

Can anyone tell me how to set the permissions to get Change permissions on a 
share?

Thanks

Robert Jarratt
Senior Consultant
Microsoft Consulting Services
Microsoft Ltd.
Tel.: +44 (118) 909 4923
mailto:[EMAIL PROTECTED]


This email may contain confidential information. If you are not named on the 
addressee list, please take no action in relation to this email, do not open 
any attachment, and please contact the sender (details above) immediately.
Information in this email is provided in good faith. If you are a customer of 
Microsoft, please refer to the terms and conditions which cover the provision 
of support and consulting services to you/your organization. If you are not 
corresponding in the course of, or in connection with a Microsoft contract or 
programme with its own terms and conditions, please note that no liability is 
accepted by Microsoft for the contents of this mail.

Microsoft Limited (company number 01624297) is a company registered in England 
and Wales whose registered office is at Microsoft Campus, Thames Valley Park, 
Reading. RG6 1WG.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Where's my ActionText?

2008-02-15 Thread larsenal

Thanks, that worked!
-- 
View this message in context: 
http://www.nabble.com/Where%27s-my-ActionText--tp15486575p15504729.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 3.0 Nant Task and Localization

2008-02-15 Thread Brendan Crosser-McGay
On Thu, Feb 14, 2008 at 7:32 PM, Bob Arnson [EMAIL PROTECTED] wrote:

 If you're using Votive, why not just build via the .wixproj? That way
 you get the same behavior from developer builds and the official build.

 Regardless, WixUI in WiX v3 uses embedded localization sets so you want
 the cultures attribute (like it's set in the .wixproj) for the light
 task.


Turns out, the build was actually failing after trying to build the wixproj
file.  I'm not sure what to make of it though.  I turned on verbose output
on my machine where everything works in Visual Studio fine.  It's running
light.exe and passing -cultures:en-US into the light program.  However on
the other machine, without visual studio installed (but WiX 3.0 installed),
according to the build logs, it's running light, but not passing in the
-cultures argument at all, which explains all the errors.

But now the question is, why is the same WiX install handling the same
wixproj file differently on different machines?  Have you encountered this
before?  Does it have to do with Visual Studio building it as opposed to
NAnt building it?
-Brendan
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Non-advertised Shortcuts

2008-02-15 Thread Alexander Shevchuk
Hi Oliver,

You need to create a component with:

-  Registry key in HKCU which is a keypath of the component;

-  Shortcut.

You can find more explanation and example here:
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx

Regards,
Alex



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Fairfoul
Sent: Friday, February 15, 2008 9:46 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Non-advertised Shortcuts

Dear all,

I've been experiencing a problem with WiX shortcuts.
For reasons I won't go into now I need to use non-advertised shortcuts to 
reference my executables (a shortcut with an absolute target)
However, When compiling I get the following error:
error LGHT0204 : ICE43: Component ShortcutComponnent has non-advertised 
shortcuts. It should use a registry key under HKCU as its KeyPath, not a file.

How would I go about setting this registry key as I cannot find any references 
to this on the internet anywhere.

Any help would be much appreciated.

Thanks in advance,

Oliver Fairfoul
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Non-advertised Shortcuts

2008-02-15 Thread Oliver Fairfoul
Dear all,

 

I've been experiencing a problem with WiX shortcuts.

For reasons I won't go into now I need to use non-advertised shortcuts
to reference my executables (a shortcut with an absolute target)

However, When compiling I get the following error:

error LGHT0204 : ICE43: Component ShortcutComponnent has non-advertised
shortcuts. It should use a registry key under HKCU as its KeyPath, not a
file.

 

How would I go about setting this registry key as I cannot find any
references to this on the internet anywhere.

 

Any help would be much appreciated.

 

Thanks in advance,

 

Oliver Fairfoul

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Have I found a bug in light?

2008-02-15 Thread Todd Newman (RMG)
And lo, when I tried the latest version, Bob's fix solved my problem.  Many 
thanks.

/tdn

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 7:23 PM
To: Todd Newman (RMG)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Have I found a bug in light?

Todd Newman (RMG) wrote:
Has anyone else encountered this problem?  Is there a work around?

FWIW, I'm running version 3.0.3725.0.   Looking at the logs, I don't think 
there's been a fix for this since that build.

I fixed it three days after that build.g


--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] OSQL query fails with msiexec!

2008-02-15 Thread Sajo Jacob
I have an OSQL query which runs a select statement to determine the sql
engine version on the target machine in a VBScript Custom action, it works
fine when I run the MSI by double clicking it, but when I attempt to do a
msiexec /i xyz.msi the osql command fails and the select doesn't return
any returns…

My osql  uses the following switches -E -S -Q

Any ideas?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 3.0 Nant Task and Localization

2008-02-15 Thread Brendan Crosser-McGay
On Fri, Feb 15, 2008 at 10:47 AM, Brendan Crosser-McGay [EMAIL PROTECTED]
wrote:

 But now the question is, why is the same WiX install handling the same
 wixproj file differently on different machines?  Have you encountered this
 before?  Does it have to do with Visual Studio building it as opposed to
 NAnt building it?


I fixed the problem by uninstalling WiX on both build machine and my dev
machine and reinstalling the latest weekly build fixed this.  I also added
culture properties to each project environment.

Thanks anyways,
-Brendan
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Style of Event-Driven Text Control

2008-02-15 Thread larsenal

I have a text control which gets its Text property filled by the ActionText
event.

Control Id=ActionText Type=Text X=10 Y=10 Width=190
Height=15 Transparent=yes
  Subscribe Event=ActionText Attribute=Text /
/Control

How can I specify its style?  If the text were static, I think I could
prepend with {\Tahoma10} or similar.  How do you do this for dynamic
text?
-- 
View this message in context: 
http://www.nabble.com/Style-of-Event-Driven-Text-Control-tp15505025p15505025.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Localization with WiX3

2008-02-15 Thread DE�K JAHN, G�bor
On Thu, 14 Feb 2008 21:59:20 +0100, Markus Kuehni wrote:

Markus,

 Strangely the localizations files from the version 2 are not
 mirrored into the 3.x releases. Maybe someone at the project could
 offer a reason for this?

I keep asking Bob from time to time when the UI part of v3 will cease to be a 
moving target so that we can mobilize our previous translators again (or find 
new ones if some of them can't find the time to help with the new version) to 
upgrade the localization files. But the light is not yet green...

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] low bit depth rendering of bitmaps and icons?

2008-02-15 Thread Todd Newman (RMG)
Has anyone else noticed that their icons and bitmaps are dithered down to about 
4 bits/pixel? Is there a way around this?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users