[WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-27 Thread md5hans

Hi!

I have a dialog (D1) that has a ComboBox where the items of the ComboBox is
filled by a custom action (C++ dll). When the user has selected an item the
next button is enabled and another dialog (D2) is shown (if the user clicks
the next button) with another combobox. The D2 combobox is also filled by a
custom action in the same way as the first one but the selection of items is
based on the item that was selected in the first dialog (D1).

My problem is if the user clicks the back button in dialog D2 and in the D1
dialog changes the selection of the Combobox and then clicks the next button
(To move back to D2) I want to reload the items in the D2-Combox using the
new value that was selected in D1. 

Is there a way to clear an msi-table from the c++ code? or must I disable
the back button so that the user can not change the setting i D1 after
having moved to D2?

/Hans
-- 
View this message in context: 
http://www.nabble.com/Clearing-a-MSI-table-%28Clearing-ListBox-ComboBox%29-tf4333896.html#a12343111
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Scheduling a Custom Action for a certain Dialog

2007-08-27 Thread md5hans

Hi!

I have solved this using a DoAction in the next button for the dialog
that is shown before the dialog shold have the custom executet before it was
shown.

  Control Id=Next Type=PushButton X=236 Y=243 Width=56
Height=17 Default=yes Text=Next
Condition Action=enablePACKAGE_NAME/Condition
Condition Action=disableNOT PACKAGE_NAME/Condition
Publish Event=DoAction Value=FillCategoryListUPGRADE/Publish
  /Control

/Hans


-- 
View this message in context: 
http://www.nabble.com/Scheduling-a-Custom-Action-for-a-certain-Dialog-tf4322634.html#a12343179
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Versionnumber / upgrade

2007-08-27 Thread Wik Carl-Johan
Hi!

 

Question 1)

 

Automation build with msbuild. We are using the version 1.0.* in the
.Net assemblies we build and would like to keep this.

During the day the revision number is the only one changing as the build
number is used to represent the day. Now as the installer only uses the
three first number in version to separate different versions. How to
separate different build during the day so the installer understands it.
Someone has a similar build environment and have any suggestions how
configure the environment? 

 

Question 2)

 

Was playing around with Upgrade. Now I have:

 

Product Id=$(var.ProductId) ...

 

Upgrade
Id=6F148500-B37D-4a81-976E-9485ADEC4BA5

UpgradeVersion
Property=OLDAPPFOUND IncludeMinimum=yes  Minimum=0.0.0.0

 
IncludeMaximum=no Maximum=$(var.ProductVersion)/

UpgradeVersion
Property=NEWAPPFOUND IncludeMinimum=no Minimum
=$(var.ProductVersion)

 
OnlyDetect=yes/

/Upgrade

 

InstallExecuteSequence

RemoveExistingProducts
After=InstallInitialize /

/InstallExecuteSequence

 

Now it seems to work if I have a new build number in the version, it
will reinstall files. (Why have revision number at all in the version
number?)

 

I had:

RemoveExistingProducts After=InstallFinalize /

And it didn't reinstall files. It kept files that had an old version on
them. Why?

 

/cj

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Install to ROOTDRIVE

2007-08-27 Thread Darrell ([EMAIL PROTECTED])
I am looking to have my application default to installing on the same 
drive that they have Windows installed on.  I believe that is called the 
ROOTDRIVE.  However using the following it defaults to whatever drive 
the installer is launched from.

Directory Id=TARGETDIR Name=SourceDir
Directory Id=CompanyFolder Name=CompanyName 
Directory Id=INSTALLLOCATION Name=ProductName

How can I change the above so that it defaults to the root drive where 
they installed Windows?

Thanks
Darrell

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (network) permissions under vista

2007-08-27 Thread Alexander Gnauck
Hello,

i still have problems with my custom actions on Windows Vista.

With lots of workarounds and
Execute='deferred' Impersonate='no' flags
we got them working now on Vista in the most cases.

The case where they don't work is when the program or parts of the 
program get installed on a network share.
The MSI installer service is running under the local system account, and 
of course the local system account has no permissions to write data on a 
network share. So the defereeed actions fail.

Why is the installer able to install the files on a network share but my 
deferred elevated custom action is not able to write a file in the same 
directory on a network share?

Is there any solution for this problem?

Thanks
Alex


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install to ROOTDRIVE

2007-08-27 Thread Schrieken, Rene
I think you better off with $(env.SystemDrive)  but that is only available in 
WinNT or this property:
 

WindowsVolume Property

The installer sets the WindowsVolume property to the volume of the windows 
folder. The property always ends with a backslash. This can be used to set the 
default location to the volume the Windows folder is on because the ROOTDRIVE 
https://owa.nl.logicacmg.com/exchange/75971/Drafts/RE:%20%5BWiX-users%5D%20Install%20to%20ROOTDRIVE.EML/rootdrive.htm
  property does not necessarily equal this drive.
 
I believe this should work then (not tried):
 
CustomAction Id=CA_TARGETDIR Return=check Execute=firstSequence 
Property=TARGETDIR Value=[WindowsVolume] /
 
InstallExecuteSequence
  Custom Action=CA_TARGETDIR 
After=ValidateProductID![CDATA[TARGETDIR=]]/Custom
/InstallExecuteSequence

 



From: [EMAIL PROTECTED] on behalf of Darrell ([EMAIL PROTECTED])
Sent: Mon 8/27/2007 16:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Install to ROOTDRIVE



I am looking to have my application default to installing on the same
drive that they have Windows installed on.  I believe that is called the
ROOTDRIVE.  However using the following it defaults to whatever drive
the installer is launched from.

Directory Id=TARGETDIR Name=SourceDir
Directory Id=CompanyFolder Name=CompanyName 
Directory Id=INSTALLLOCATION Name=ProductName

How can I change the above so that it defaults to the root drive where
they installed Windows?

Thanks
Darrell

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] MSI 4.5, Chainers, Multiple MSI File Installs

2007-08-27 Thread Wilson, Phil
Title: MSI 4.5, Chainers, Multiple MSI File Installs 






Anyone interested in chaining and multiple MSI/single transaction installs should take a look at the 4.5 Beta. 



http://blogs.msdn.com/windows_installer_team/ 

Phil Wilson 







-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to install msxm3 merge module

2007-08-27 Thread Davut Karabay
Hello,
 
I need to install MSXML3 merge module. I have added following lines to my WIX, 
but the installer terminates prematurely (nothing useful in the MSI logs!!). 
Does anyone know how to do it?
 
...
Directory Id=TARGETDIR Name=SourceDir
...  Merge Id=msxml3 Language=1033 SourceFile=msxml3_wim32.msm 
DiskId=1 /
.../Directory
...Feature Id=MyFeature Title=Title Description=Description 
Level=1 AllowAdvertise=no
...  MergeRef Id=msxml3 /
.../Feature
...
Regards,
Davut
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install msxm3 merge module

2007-08-27 Thread Tanikella, Rajanikanth (SCR US)
Hello Davut,
 
What version of MSXML are you merging in?  I was having a similar
difficult time with this last week, but what solved the issue was
getting a more recent service pack of MSXML and replacing the files in
my installation with those.
 
http://community.installshield.com/showthread.php?p=281196mode=threaded
offers an explanation.
 
I hope it helps.
 
Raj




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Davut
Karabay
Sent: Monday, August 27, 2007 5:47 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to install msxm3 merge module


Hello,
 
I need to install MSXML3 merge module. I have added following
lines to my WIX, but the installer terminates prematurely (nothing
useful in the MSI logs!!). Does anyone know how to do it?
 
...
Directory Id=TARGETDIR Name=SourceDir
...
  Merge Id=msxml3 Language=1033
SourceFile=msxml3_wim32.msm DiskId=1 /
...
/Directory
...
Feature Id=MyFeature Title=Title
Description=Description Level=1 AllowAdvertise=no
...
  MergeRef Id=msxml3 /
...
/Feature
...

Regards,
Davut




Invite your mail contacts to join your friends list with Windows
Live Spaces. It's easy! Try it!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.
aspxmkt=en-us  

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install msxm3 merge module

2007-08-27 Thread Davut Karabay
Hi Raj,
 
I am merging MSXML3 SP7.
 
Did you have to install all three modules (msxml3_wim32.msm, 
msxml3inf_wim32.msm and wdstddll_wim32.msm)? I was only trying 
msxml3_wim32.msm.Thanks,Davut


Subject: RE: [WiX-users] How to install msxm3 merge moduleDate: Mon, 27 Aug 
2007 14:54:38 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; 
wix-users@lists.sourceforge.net



Hello Davut,
 
What version of MSXML are you merging in?  I was having a similar difficult 
time with this last week, but what solved the issue was getting a more recent 
service pack of MSXML and replacing the files in my installation with those.
 
http://community.installshield.com/showthread.php?p=281196mode=threaded offers 
an explanation.
 
I hope it helps.
 
Raj



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davut 
KarabaySent: Monday, August 27, 2007 5:47 PMTo: [EMAIL PROTECTED]: [WiX-users] 
How to install msxm3 merge module
Hello, I need to install MSXML3 merge module. I have added following lines to 
my WIX, but the installer terminates prematurely (nothing useful in the MSI 
logs!!). Does anyone know how to do it? ...Directory Id=TARGETDIR 
Name=SourceDir...  Merge Id=msxml3 Language=1033 
SourceFile=msxml3_wim32.msm DiskId=1 /.../Directory...Feature 
Id=MyFeature Title=Title Description=Description Level=1 
AllowAdvertise=no...  MergeRef Id=msxml3 /...
/Feature...Regards,Davut

Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! Try it! 
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to make features do not display in the SelectionTree

2007-08-27 Thread JosephLee

hi all,
i build a windows installer by wix, in my package i have some features, some
of them used a common component and some not, so i want to install this
component when it is needed, does anyone konws how to complete this. thanks
-- 
View this message in context: 
http://www.nabble.com/How-to-make-features-do-not-display-in-the-SelectionTree-tf4339499.html#a12361394
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-27 Thread chandan Koushik

Hi All,
  I am using Wix3.0 I have created a new Dialig using the code shown
below .







[DlgTitleFont]Please enter the UserName 
and Password for the My
Database setup.



User Name



Password
















I am using this code in the main Wix file. At a certain place I am
referring to InstallDlg1  using the element
INSTALLDATABASE

But this gives me an error stating 

The primary key 'LicenseAccepted' is duplicated in table 'CheckBox'. 
Please remove one of the entries or rename a part of the primary key to
avoid the collision.
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeEulaDlg.wxs   10  
1
MyDeployment

Any Help related to this Would be appreciated
   Thanks inAdvance.
Regards 
Chandan.

-- 
View this message in context: 
http://www.nabble.com/Primary-Key-LicenseAccepted-duplicated-in-table-CheckBox-tf4339737.html#a12362129
Sent from the wix-users mailing list archive at Nabble.com.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Primary Key LicenseAccepted duplicated in table CheckBox

2007-08-27 Thread chandan Koushik

Hi All,
  Sorry the code was not Accompanied in the previous mail... I am using
Wix3.0 I have created a new Dialig using the code shown below .

UIRef Id=WixUI_Mondo /

UI
Dialog Id=InstallDlg1 Width=370 Height=270 
Title=[ProductName]
[Setup] NoMinimize=yes

Control Id=Title Type=Text X=15 Y=10 
Width=350 Height=15
Transparent=yes NoPrefix=yes
Text[DlgTitleFont]Please enter the 
UserName and Password for the My
Database setup./Text
/Control
Control Id=UserNameEdit Type=Edit X=35 
Y=75 Width=200
Height=18 Property=SQLUSER Text={80} /
Control Id=UserName Type=Text X=35 
Y=50 Width=50 Height=10
TabSkip=no
TextUser Name/Text
/Control
Control Id=PasswordEdit Type=Edit X=35 
Y=145 Width=200
Height=18 Property=SQLPASSWORD Text={80} /
Control Id=Password Type=Text X=35 
Y=120 Width=50 Height=10
TabSkip=no
TextPassword/Text
/Control

Control Id=Install Type=PushButton X=304 
Y=243 Width=56
Height=17 Default=yes Text=Install now
Publish Event=NewDialog 
Value=ProgressDlg /
Publish Event=EndDialog 
Value=Return /
/Control
/Dialog

TextStyle Id=DlgFont8 FaceName=Tahoma Size=8 /
TextStyle Id=DlgFontBold8 FaceName=Tahoma Size=8 
Bold=yes /
TextStyle Id=VerdanaBold13 FaceName=Verdana 
Size=13 Bold=yes /

AdminUISequence /

/UI

I am using this code in the main Wix file. At a certain place I am
referring to InstallDlg1  using the element
Show Dialog=InstallDlg1 
After=WelcomeEulaDlgINSTALLDATABASE/Show

But this gives me an error stating 

The primary key 'LicenseAccepted' is duplicated in table 'CheckBox'. 
Please remove one of the entries or rename a part of the primary key to
avoid the collision.
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeEulaDlg.wxs   10  
1
MyDeployment

Any Help related to this Would be appreciated
   Thanks inAdvance.
Regards 
Chandan.

-- 
View this message in context: 
http://www.nabble.com/Primary-Key-LicenseAccepted-duplicated-in-table-CheckBox-tf4339744.html#a12362144
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users