Re: [WiX-users] show progress text for custom action

2007-12-05 Thread Julie Campbell


There is a page on my wix wiki with the DEFAULT InstallExecuteSequence
values:
http://wix.mindcapers.com/wiki/WiX_InstallExecuteSequence

The better way to see the sequence is to open your .msi file using Orca.

I believe that the properties are all set upfront, but if you need to set
the value of a property to be passed to a custom action, schedule a Type 51
custom action (set property value) right before it:

InstallExecuteSequence
Custom Action=CA_SET_PROPERTY After=InstallFiles1/Custom
Custom Action=CA_DO_SOMETHING After=CA_SET_PROPERTY1/Custom
/InstallExecuteSequence

Windows Installer custom action types at MSDN:
http://msdn2.microsoft.com/en-us/library/aa372048.aspx

Julie Campbell
[EMAIL PROTECTED]


-Original Message-
Message: 2
Date: Wed, 05 Dec 2007 12:20:37 +1300
From: Adam Langley [EMAIL PROTECTED]
Subject: Re: [WiX-users] show progress text for custom action
To: wix-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Thanks Daryn, that completely fixed my problem, cheers for the clear
explanation aswell!
Im always stumbling around exactly when I want to execute my custom actions.
Is there a diagram somewhere listing all the install sequence execute events
(InstallInitialize, InstallFinalize, etc etc) - in their executed order,
explaining what they're doing?
Also, if my CA uses Properties, at what point are the properties evaluated
and assigned? For example, if I have a deferred CA, which gets passed the
installation folder, its possible the CA gets queued before the property has
been assigned (I've seen this before trying to use the Quiet Execute
Action)...

Thanks

Regards, Adam Langley



_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com
_

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to use quiet custom action

2007-12-05 Thread Julie Campbell
I'm running an older WiX v3 build, but I see this in my wix.chm file:

Property Id=QtExecCmdLine Value=command line to run/
CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec
Execute=immediate Return=check/
Binary Id=wixca src=wixca.dll/
.

Property Id=QtExecDeferred Value=command line to run/
CustomAction Id=QtExecDeferred BinaryKey=wixca DllEntry=CAQuietExec
Execute=deferred Return=check/

The command line needs to be set to a property, not in the Value attribute.

Julie Campbell
[EMAIL PROTECTED]

--

Message: 5
Date: Wed, 05 Dec 2007 11:06:26 +1300
From: Adam Langley [EMAIL PROTECTED]
Subject: Re: [WiX-users] how to use quiet custom action
To: wix-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hi,

I followed the instruction below, and copied the example in WiX.chm, I get
the following ICE68 error:

Error   7   ICE68: Invalid custom action type for action

This is the example used...

CustomAction Id=QtExecDeferredExampleWithProperty_Cmd
Property=QtExecDeferredExampleWithProperty
  Value=quot;[#MyExecutable.exe]quot; Execute=immediate
Return=ignore/
CustomAction Id=QtExecDeferredExampleWithProperty BinaryKey=WixCA
DllEntry=CAQuietExec
  Execute=deferred Return=check Impersonate=no/
.
.
.
InstallExecuteSequence
Custom Action=QtExecDeferredExampleWithProperty_Cmd
After=CostFinalize/
Custom Action=QtExecDeferredExampleWithProperty
After=TheActionYouWantItAfter/
/InstallExecuteSequence

Thanks

 - Adam Langley



_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com
_

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing a help collection for VS2005 and VS2008 from same MSI. Possible?

2007-12-05 Thread Reggie Burnett
I want to include documentation for my product in the V90 and V80
collections (for Vs2008 and vs2005 respectively). Does this involve
including both VSIPCC_Collection_Files_RTL_---_---.msm files (the one from
the VS2005 collection and from the VS2008 collection)?

Will this even work?
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sql Extension to install DB

2007-12-05 Thread Pankaj Bhatia
Thanks ryan.
Enabling Wix log with attribute /L*v helped -
I forgot to remove CREATE DATABASE command from my script which was
already taken care by wix's sql extension ;).

Cheers
Pankaj

On Dec 5, 2007 6:17 PM, Ryan O'Neill [EMAIL PROTECTED] wrote:

 When I run into weird SQL errors like that it is usually down to
 context, for example the language of the user accessing the db is
 different between your admin user (that you test with) and your WiX
 user. More likely, I think you are probably using different users and
 you have a permissions problem. Run SQL Server Profiler to see what is
 actually happening and under what user when you try to install.

 Pankaj Bhatia wrote:
  Hello
 
  I am new to wix and currently trying to install my sql schema using
  wix's SQLExtension. here is my code -
 
   Component Id=SlaDB
  Guid=15129d56-f448-4e22-82c5-0035af0099cd
  sql:SqlDatabase Id=ABCDatabase Database=ABCDb
  Server=localhost\SQLEXPRESS
CreateOnInstall=yes DropOnUninstall=yes
  ContinueOnError=yes
sql:SqlScript Id=CreateTables ExecuteOnInstall=yes
  ExecuteOnUninstall=no BinaryKey=CreateSLADbBin/
  /sql:SqlDatabase
  CreateFolder/
/Component
 
  My SQL script runs successfully if run directly with SQL express but
  while installing thru wix I simply receive
  msierrSQLFailedCreateDatabase error. Could anyone tell what is wrong.
  I don't have the localization file for SQL extension( though I wrote
  10 basic variables). It would be great if someone could provide me
  that loc in US-en.
 
  Thanks in advance.
  Pankaj
  
 
 
 -
  SF.Net email is sponsored by: The Future of Linux Business White Paper
  from Novell.  From the desktop to the data center, Linux is going
  mainstream.  Let it simplify your IT future.
  http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
  
 
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
  
 
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.5.503 / Virus Database: 269.16.13/1170 - Release Date:
 12/4/2007 10:52
 




-- 
-Pankaj Bhatia
European Microsoft Innovation Center (EMIC)
Ritterstr. 23. Aachen 52072.
Germany
Off: (+49) 241 99784 501
Cell: (+49) 160 5892 705
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Change TARGETDIR

2007-12-05 Thread Pierson Lee (Volt)
(CCing Wix mailing list)

Guna-

You need to send these through the wix mailing list as that is the purpose of 
the list.

I'd probably need to see your msi install outfile but from what you are saying 
either 1) the custom action isn't running or 2) the custom action isn't running 
in the right order (TARGET DIR is getting assigned after your script runs).

I haven't tried to modify TARGETDIR with  a custom action , so I can't begin to 
tell you what the problem is yet.

Thanks
Pierson

From: Guna S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 05, 2007 1:17 AM
To: Pierson Lee (Volt)
Subject: Change TARGETDIR

Hi

I got your ID in Web. This is regarding Wix. If you knw wix then help me. 
Otherwise just ignore this mail.

My requirement is:

Initially my TARGETDIR fefers to C:\. Following is wix code

Directory Id='TARGETDIR' Name='SourceDir'
   Directory Id='ProgramFilesFolder' Name='PFiles'

After that I called Custom action Dll and in dll I setted property PATH to some 
other drive(Not C drive)
Below is code for same

Binary Id=BinDiskSp SourceFile=SampleDLL.dll/
CustomAction Id=DiskSp BinaryKey=BinDiskSp DllEntry=SampleFunction/

InstallExecuteSequence
 Custom Action=DiskSp After=InstallInitialize/Custom
/InstallExecuteSequence

Now with new ppty ie PATH, I want to set TARGETDIR as the whatever value that 
my property PATH has
Below is the code


CustomAction Id=NewDir Property=TARGETDIR Value=[PATH] 
Execute=firstSequence /

/InstallExecuteSequence
Custom Action=NewDir Before=LaunchConditions/
/InstallExecuteSequence

But when i execute msi, it is installing in C drive only.

There is no wrong in dll. It is showing properly with new drive name.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Registering help for VS2005 and VS2008 from same MSI

2007-12-05 Thread Reggie Burnett
I want to include documentation for my product in the V90 and V80
collections (for Vs2008 and vs2005 respectively). Does this involve
including both VSIPCC_Collection_Files_RTL_---_---.msm files (the one from
the VS2005 collection and from the VS2008 collection)?

Will this even work?
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sql Extension to install DB

2007-12-05 Thread Ryan O'Neill
When I run into weird SQL errors like that it is usually down to 
context, for example the language of the user accessing the db is 
different between your admin user (that you test with) and your WiX 
user. More likely, I think you are probably using different users and 
you have a permissions problem. Run SQL Server Profiler to see what is 
actually happening and under what user when you try to install.

Pankaj Bhatia wrote:
 Hello

 I am new to wix and currently trying to install my sql schema using 
 wix's SQLExtension. here is my code -

  Component Id=SlaDB 
 Guid=15129d56-f448-4e22-82c5-0035af0099cd
 sql:SqlDatabase Id=ABCDatabase Database=ABCDb 
 Server=localhost\SQLEXPRESS
   CreateOnInstall=yes DropOnUninstall=yes 
 ContinueOnError=yes
   sql:SqlScript Id=CreateTables ExecuteOnInstall=yes 
 ExecuteOnUninstall=no BinaryKey=CreateSLADbBin/
 /sql:SqlDatabase
 CreateFolder/
   /Component

 My SQL script runs successfully if run directly with SQL express but 
 while installing thru wix I simply receive 
 msierrSQLFailedCreateDatabase error. Could anyone tell what is wrong.
 I don't have the localization file for SQL extension( though I wrote 
 10 basic variables). It would be great if someone could provide me 
 that loc in US-en.

 Thanks in advance.
 Pankaj
 

 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 

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

 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.503 / Virus Database: 269.16.13/1170 - Release Date: 12/4/2007 
 10:52
   


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Sorry for the double post.

2007-12-05 Thread Reggie Burnett
Didn't think the first one made it out.
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Failed to get group 'STUONBBOX5DOM/Administrators'

2007-12-05 Thread Wilson, Phil
I don't believe there's any requirement that the local admin group have the 
name Administrators (it's easy to go into the group names and change it). 
Most of the code I've seen that wants to know the name of the group uses the 
standard SID for the group then uses LookupAccountSid to get the name. That 
might be worth checking on the machines where it fails. 

Phil Wilson 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bikash Agrawala
Sent: Tuesday, December 04, 2007 10:26 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Failed to get group 'STUONBBOX5DOM/Administrators'

Hi,

We are facing a issue. Actually our MSI occasionally fails when it tries to add 
a user to the Administrators group. 
It is not able to find out Administrators group itself ???.This is a random 
behavior. It has been observed that the problem 
happens more often when virtual 1-box is being used Instead of physical 1-box.  
The MSI is installed using the Administrator 
login and the machine is a domain controller named (STUONBBOX5DOM).The 
OCSDumpUser is the Domain user of STUONBBOX5DOM.

The following is the log that is being generated which is of interest

MSI (s) (D8:24) [00:54:45:062]: Executing op: ActionStart(Name=CreateUser,,)
MSI (s) (D8:24) [00:54:45:062]: Executing op: 
CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (D8:24) [00:54:45:062]: Creating MSIHANDLE (138) of type 790536 for 
thread 1572
MSI (s) (D8:A8) [00:54:45:062]: Invoking remote custom action. DLL: 
D:\WINDOWS\Installer\MSIE7.tmp, Entrypoint: CreateUser
MSI (s) (D8:80) [00:54:45:062]: Generating random cookie.
MSI (s) (D8:80) [00:54:45:062]: Created Custom Action Server with PID 2984 
(0xBA8).
MSI (s) (D8:64) [00:54:45:078]: Running as a service.
MSI (s) (D8:64) [00:54:45:078]: Hello, I'm your 32bit Elevated custom action 
server.
MSI (s) (D8!78) [00:55:06:828]: Creating MSIHANDLE (139) of type 790531 for 
thread 4728
CreateUser:  Error 0x80004005: Failed to get group 
'STUONBBOX5DOM/Administrators'.
MSI (s) (D8!78) [00:55:06:828]: Closing MSIHANDLE (139) of type 790531 for 
thread 4728
MSI (s) (D8!78) [00:55:06:828]: Creating MSIHANDLE (140) of type 790531 for 
thread 4728
CreateUser:  Error 0x80004005: failed to add user: OCSDumpUser to group 
Administrators


The following is the lines in the wxs file that does the needful.

    Group Id='AdministratorsGroup' Domain='[PCFDUMPTOOLDOMAIN]' 
Name='Administrators' /
    :
    :
    :
User Id='PCFDumpUser' Name='[PCFDUMPTOOLACCOUNT]' Domain='[PCFDUMPTOOLDOMAIN]' 
CreateUser='yes' UpdateIfExists='yes' RemoveOnUninstall='no' 
Password='[PCFDUMPTOOLPASSWORD]'
    GroupRef Id='AdministratorsGroup' 
/
    /User

Please give me some pointers on how the problem can be debugged. 

Regards
Bikash




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installer for single non-administrator user

2007-12-05 Thread Gonzalo Diethelm
Hello everyone,

I am using Wix 2.0 to create an installation package that installs
everything for the current user (not touching any global areas of the
machine, like Program Files, HKLM, etc.). Therefore, the installer can
be run as a regular user and does not require Administrative privileges.
The reason for this is to comply with security requirements of Vista,
which I may not like but am convinced are here to stay.

What I would like to do is to have the installation totally isolated
from user to user. By this I mean that if user A installs the
application, it should show up only on that user's list of installed
applications. Then, if user B wants to install the application, it all
works as if nobody had ever installed the application on that machine.
Of course, each user should be able to uninstall their instance of the
application without affecting other users on the same machine. This
should also work irregardless of whether user A or B is an administrator
or a regular user.

What I am seeing now is the following:
1. If user A installs the application, it shows up in that user's list
of installed applications AND in user B's list as well (but user B
cannot really use the application because all files were installed only
for A).
2. If user A installs the application, user B cannot install it and is
only offered the options to Repair and to Uninstall. None of them work
very well for user B, since the installation changed some areas of the
machine that belong to user A (such as HKCU), and user B has no access
to those areas; he cannot really Repair anything, and the Uninstallation
leaves things in a dangling state.
3. If user A is not an administrator, he can install the application
without problems (supposing no other user has already installed it, as
explained in point 2), but he cannot uninstall it; instead, he gets an
error message saying he needs to be an administrator to uninstall it.
This is baffling to me.

Is it possible to do what I am describing here? Thanks for any hints and
best regards,

-- 
Gonzalo Diethelm
[EMAIL PROTECTED]
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Sql Extension to install DB

2007-12-05 Thread Pankaj Bhatia
Hello

I am new to wix and currently trying to install my sql schema using wix's
SQLExtension. here is my code -

 Component Id=SlaDB Guid=15129d56-f448-4e22-82c5-0035af0099cd
sql:SqlDatabase Id=ABCDatabase Database=ABCDb
Server=localhost\SQLEXPRESS
  CreateOnInstall=yes DropOnUninstall=yes
ContinueOnError=yes
  sql:SqlScript Id=CreateTables ExecuteOnInstall=yes
ExecuteOnUninstall=no BinaryKey=CreateSLADbBin/
/sql:SqlDatabase
CreateFolder/
  /Component

My SQL script runs successfully if run directly with SQL express but while
installing thru wix I simply receive msierrSQLFailedCreateDatabase error.
Could anyone tell what is wrong.
I don't have the localization file for SQL extension( though I wrote 10
basic variables). It would be great if someone could provide me that loc in
US-en.

Thanks in advance.
Pankaj
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to Change TARGETDIR

2007-12-05 Thread Julie Campbell
You custom action isn't running because the inner text of this element
determines whether or not to run it.  You have no inner text.  If you always
want to run it, use:

Custom Action=NewDir Before=LaunchConditions1/Custom

Julie Campbell
[EMAIL PROTECTED]

-Original Message-
Message: 1
Date: Wed, 5 Dec 2007 01:09:46 -0800 (PST)
From: SaiTeja [EMAIL PROTECTED]
Subject: [WiX-users]  How to Change TARGETDIR
To: wix-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


Hi

Initially my TARGETDIR fefers to C:\. Following is wix code

Directory Id='TARGETDIR' Name='SourceDir'
   Directory Id='ProgramFilesFolder' Name='PFiles'

After that I called Custom action Dll and in dll I setted property PATH to
some other drive(Not C drive)
Below is code for same

Binary Id=BinDiskSp SourceFile=SampleDLL.dll/
CustomAction Id=DiskSp BinaryKey=BinDiskSp
DllEntry=SampleFunction/

InstallExecuteSequence
 Custom Action=DiskSp After=InstallInitialize/Custom
/InstallExecuteSequence

Now with new ppty ie PATH, I want to set TARGETDIR as the whatever value
that my property PATH has
Below is the code


CustomAction Id=NewDir Property=TARGETDIR Value=[PATH]
Execute=firstSequence /

/InstallExecuteSequence
Custom Action=NewDir Before=LaunchConditions/ 
/InstallExecuteSequence

But when i execute msi, it is installing in C drive only.

There is no wrong in dll. It is showing properly with new drive name.

Can any one help me how to solve this





_
Scanned by IBM Email Security Management Services powered by MessageLabs. For 
more information please visit http://www.ers.ibm.com
_

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Handling Feature Dependencies

2007-12-05 Thread Robert.Priest
Light.exe does not like that. It throws:

 

light.exe : error LGHT0204 : ICE03: Not a valid foreign key; Table:
FeatureCompo

nents, Column: Feature_, Key(s):
grpRequiredModules.uplevel.66332652_9C28_58B1_F

F1F_C8B3B9A1E18E

light.exe : error LGHT0204 : ICE03: Not a valid foreign key; Table:
FeatureCompo

nents, Column: Feature_, Key(s):
grpRequiredModules.downlevel_manifest.8.0.50727

.96.66332652_9C28_58B1_FF1F_C8B3B9A1E18E

 

 

The name of my FeatureGroup is grpRequiredModules but it looks like
candle.exe  tacks on a few other items when compiling Do I need to
do something similar to a SuppressModularization or am I missing
something else?

 

From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 04, 2007 10:02 AM
To: Robert Priest; [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Handling Feature Dependencies

 

 

Oh. Are you saying put the MergeRefs directly under the feature
groups?  Okay. I will give that a shot.

 

Yes, and then put FeatureGroupRefs under your Features.

 

John

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Output Window bugs with latest versions of Wix?

2007-12-05 Thread Justin Rockwood
This is a known bug and we're working on a fix. It's actually a bug in
Visual Studio 2005 and not in our stuff, but we're working to get a fix for
it. It works fine in Visual Studio 2008. Also, the task pane should show the
errors in the correct format in both versions as a workaround.

Thanks,
Justin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony Wieser
Sent: Wednesday, December 05, 2007 5:15 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Output Window bugs with latest versions of Wix?

Has the output format changed.  The latest versions of Wix I have
(3.0.3530.0, and 3.0.3526.0, 3.0.3509.0, and 3.0,3502.0) aren't setting the
output for error messages correctly in my copy of Visual Studio 2005.

I'm getting line numbers for the error message, but no actual error message.
It's also not throwing in line-feeds correctly.

When I run it from the command line, everything looks normal.

I get this on the command line:
C:\projects\rowing\StrokeOfGenius\RowingTelemetryWiX\ftdi-drivers.wxs(45) :
error LGHT0094 : Unresolved reference to symbol 'Compone
nt:drivers' in section 'Fragment:'.
C:\projects\rowing\StrokeOfGenius\RowingTelemetryWiX\ftdi-drivers.wxs(46) :
error LGHT0094 : Unresolved reference to symbol 'Compone
nt:drivers_i386' in section 'Fragment:'.
C:\projects\rowing\StrokeOfGenius\RowingTelemetryWiX\ftdi-drivers.wxs(47) :
error LGHT0094 : Unresolved reference to symbol 'Compone
nt:drivers_amd64' in section 'Fragment:'.

And this in visual studio 2005.
C:\projects\rowing\StrokeOfGenius\RowingTelemetryWiX\ftdi-drivers.wxs(45,0)E
rror LGHT0094:
C:\projects\rowing\StrokeOfGenius\RowingTelemetryWiX\ftdi-drivers.wxs(46,0)E
rror LGHT0094:
C:\projects\rowing\StrokeOfGenius\RowingTelemetryWiX\ftdi-drivers.wxs(47,0)E
rror LGHT0094: Done building project RowingTelemetryWiX.wixproj -- FAILED.



I get similar errors with candle.  Anyone else seeing this?



Anthony Wieser
Wieser Software Ltd




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to Change TARGETDIR

2007-12-05 Thread SaiTeja

Hi

Initially my TARGETDIR fefers to C:\. Following is wix code

Directory Id='TARGETDIR' Name='SourceDir'
   Directory Id='ProgramFilesFolder' Name='PFiles'

After that I called Custom action Dll and in dll I setted property PATH to
some other drive(Not C drive)
Below is code for same

Binary Id=BinDiskSp SourceFile=SampleDLL.dll/
CustomAction Id=DiskSp BinaryKey=BinDiskSp
DllEntry=SampleFunction/

InstallExecuteSequence
 Custom Action=DiskSp After=InstallInitialize/Custom
/InstallExecuteSequence

Now with new ppty ie PATH, I want to set TARGETDIR as the whatever value
that my property PATH has
Below is the code


CustomAction Id=NewDir Property=TARGETDIR Value=[PATH]
Execute=firstSequence /

/InstallExecuteSequence
Custom Action=NewDir Before=LaunchConditions/ 
/InstallExecuteSequence

But when i execute msi, it is installing in C drive only.

There is no wrong in dll. It is showing properly with new drive name.

Can any one help me how to solve this



-- 
View this message in context: 
http://www.nabble.com/How-to-Change-TARGETDIR-tf4948297.html#a14167724
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 2908

2007-12-05 Thread Bob Arnson
Emmanuel Stapf [ES] wrote:
 What do you mean by that? My install is compiled with WiX v3 and I hadn't
 see any errors. Are you saying that my package was faulty? If so, what is
 the fault exactly?
   

No, I was referring to the second link that talked about exceeding the 
number of components per feature.

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



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems deploying Microsoft MSM module to SystemFolder

2007-12-05 Thread Bob Arnson
Bryan C. Boettcher wrote:
 S:\release\cabs\product.msi.wxs(15) : warning LGHT1056 : The Directory table 
 contains a row with primary key(s) 'SystemFolder' which cannot be merged from 
 the merge module 'S:\build\msm\comcat.msm'.  This is likely due to collision 
 of rows with the same primary key(s) (but other different values in other 
 columns) between the database and the merge module.
   

It's a warning you can ignore.

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



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] show progress text for custom action

2007-12-05 Thread Bob Arnson
Adam Langley wrote:
   CustomAction Id='DEVENV_SETUP'
   

You might want to use the VS extension -- it has the AppSearches and 
custom actions for devenv.exe.

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



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Handling Feature Dependencies

2007-12-05 Thread Bob Arnson

[EMAIL PROTECTED] wrote:


light.exe : error LGHT0204 : ICE03: Not a valid foreign key; Table: 
FeatureCompo


nents, Column: Feature_, Key(s): 
grpRequiredModules.uplevel.66332652_9C28_58B1_F


F1F_C8B3B9A1E18E



That looks like it's a combination of the feature group name and 
components from the merge module. Sounds like a bug in the linker -- can 
you file a bug on SF?


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

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Re posting Condition for Silent Install

2007-12-05 Thread SaiTeja

Hi

 I want to execute some custom actions only in Silent Mode

For ex: Custaction1,Custaction2,Custaction3,Custaction4, etc
When I run in Silent Mode Custaction1 and Custaction2,
Custaction3,Custaction4 Should execute
When I run in UI mode, only Custaction3, Custaction4 should execute

I tried in two ways.

 Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
  
  For custom action:

  InstallExecuteSequence
 Custom Action=test Sequence='1200'SilentInstall/Custom Action
  /InstallExecuteSequence

and another way is (No Ppty)

InstallExecuteSequence
 Custom Action=test Sequence='1200'INSTALLUILEVEL_NONE/Custom
Action
 /InstallExecuteSequence

But its not working fine.

It would be great if any one gave solution



SaiTeja wrote:
 
 Hi Stefan,
 
 Thanks for you resp. Following is my sample code. Plz let me know the way
 is correct or not
 
  Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
   
 For custom action:
 
   InstallExecuteSequence
  Custom Action=test Sequence='1200'SilentInstall/Custom
 Action
   /InstallExecuteSequence
 
   Binary Id='Customization.vbs' src='Customization.vbs'/
   CustomAction Id='test' BinaryKey='Customization.vbs'
 VBScriptCall='Hello' Return='check'/
   
 
 
 Thanks
 Hi,
 
 
 
 
 
 Stefan Pavlik-2 wrote:
 
 Hi,...
 
 You should create the condition for the CustomAction based on the
 UILevel property: http://msdn2.microsoft.com/en-us/library/aa372096.aspx
 
 
 UILevel:
 
 NSTALLUILEVEL_NONE   2 Completely silent installation.
 INSTALLUILEVEL_BASIC 3 Simple progress and error handling.
 INSTALLUILEVEL_REDUCED   4 Authored UI, wizard dialogs suppressed.
 INSTALLUILEVEL_FULL  5 Authored UI with wizards, progress, errors.
 
 Regards
 
 Stefan
 
 SaiTeja wrote:
 Hi,
 
 I want to execute particular custom action [OR] I want to execute some
 lines
 of my wix code only in silent mode.
 
 Any answers?
 
 
 
 
 -- 
 Stefan Pavlik | [EMAIL PROTECTED]
 Whitestein Technologies s.r.o. | www.whitestein.com
 Panenska 28 | 811 03 Bratislava | Slovak Republic
 Main +421 2 5443-5502 | Direct +421 2 5930-0735
 
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 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/Condition-for-Silent-Install-tf4935094.html#a14187115
Sent from the wix-users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users