[WiX-users] Can anyone send me a copy of the WiX Tutorial Sample Codes? Thank. Download links are all broken.

2012-11-09 Thread lzy126_2012
Hi there,

   I am walking through the WiX Tutorial on the 
http://wix.tramontana.co.hu/tutorial, and I think it is a very good start point 
for me.
   Unfortunately, all the sample code download links are broken on that 
website. I have kept copying and pasting the code from the tutorial to restore 
the project by myself from Lesson One. 
   But when I get to the User Interface Revisited--Customizations Galore 
section, I find I could not go on without the sample codes, because it needs an 
external file provided by the tutorial author.
   Could anyone send a copy of the whole sample codes zip file? 
   By the way, I could find some of the sample code on google by searching the 
name of the file, like 'UI_Texts.wxs', but they are written in Japanese. I need 
the samples in English.

Thanks a lot.

Zhiyu Li

2012-11-09 



lzy126_2012 
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error LGHT0136 with _Validation table

2012-11-09 Thread Sami Ovaska
Hi,

 

I’m getting error 

 


C:\Users\SamiOvaska\AppData\Local\Temp\jmbjxkqj\_Validation.idt : error 
LGHT0136 : There was an error importing table '_Validation' from file 
'C:\Users\SamiOvaska\AppData\Local\Temp\jmbjxkqj\_Validation.idt'.

 

When running light.exe command. Installer is really simple, I just created one 
by using template in VS2012, changed Manufacturer and tried to compile it. I’m 
running Wix 3.6 with VS2012 in Windows 8. _Validation.idt is attached.

 

Here is command output:

 

“C:\Program Files (x86)\WiX Toolset v3.6\bin\Light.exe -out 
C:\Users\SamiOvaska\Documents\Viper\Main\Mirasys\Servers\GIS\Setup\bin\Release\Setup.msi
 -pdbout 
C:\Users\SamiOvaska\Documents\Viper\Main\Mirasys\Servers\GIS\Setup\bin\Release\Setup.wixpdb
-cultures:null -contentsfile 
obj\Release\Setup.wixproj.BindContentsFileListnull.txt -outputsfile 
obj\Release\Setup.wixproj.BindOutputsFileListnull.txt -builtoutputsfile 
obj\Release\Setup.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile 
C:\Users\SamiOvaska\Documents\Viper\Main\Mirasys\Servers\GIS\Setup\Setup.wixproj
 obj\Release\Product.wixobj -notidy
Windows Installer Xml Linker version 3.6.3303.0
Copyright (C) Outercurve Foundation. All rights reserved.

 

C:\Users\SamiOvaska\AppData\Local\Temp\jmbjxkqj\_Validation.idt : error 
LGHT0136 : There was an error importing table '_Validation' from file 
'C:\Users\SamiOvaska\AppData\Local\Temp\jmbjxkqj\_Validation.idt'.

 

Any idea how to solve the problem?

 

Regards, Sami Ovaska--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 3.6 MergeModule creation regression?

2012-11-09 Thread rowbot
Hi, 

Any fix or workaround to this?

We can't move to 3.6 or 3.7 without it...(!)

Thanks,




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-6-MergeModule-creation-regression-tp7581302p7581831.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] TFS Build Unhandled Exception in, apparently WiX

2012-11-09 Thread rowbot
Hi, 

Anyone know if this has been fixed in a released version?

Thanks,




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/TFS-Build-Unhandled-Exception-in-apparently-WiX-tp6845984p7581832.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Condition for files

2012-11-09 Thread Subbiah Ganesan
Hi all,

I have a driver component  which has 3 different cat files for different
oses os1, os2, os3. I want the installer to install the correct file on the
particular os. I know i can use 3 different component ids and conditions
for each of them. In future, i am trying to have a single cat file for all
oses. So in this case, how will the upgrade gets affected? What can be done
to make the future upgrade smooth in all 3 oses?
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to get content of a file component

2012-11-09 Thread Nick Ramirez
This is probably a naive question, but why is it required to read the file at
install time? Could you get the information you need during development and
hardcode it into a component?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-content-of-a-file-component-tp7581768p7581835.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to invoke XmlFile standard custom action after ExitDialog

2012-11-09 Thread Nick Ramirez
I believe that adding an XmlFile element inside of a Component will add an
action to the install sequence that will do the XML writing. That would
happen during the installation, not at the end. Is it a hard requirement
that this only be performed at the end? All actions that change the state of
the user's system should happen during the install so that they can be
rolled back or uninstalled. Actions at the end do not have these features.

If you wanted to control whether the action is performed, you could add the
XmlFile element inside of a component. Then, set a WiX property with a
checkbox or some other UI control. Next, check this property in the
component using a Condition element to either allow or not allow that
component to be processed. That way, you're controlling the writing to the
registry with the checkbox, but are also giving it rollback/uninstall
capabilities.

(I haven't checked that the rollback capabilities of XmlFile work)

Could you give more background on what you want to do?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-invoke-XmlFile-standard-custom-action-after-ExitDialog-tp7581825p7581836.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition for files

2012-11-09 Thread Nick Ramirez
If I understand, the new MSI will have a single file that can be used on any
OS? And the other OS-specific files will be removed/replaced? 

A major upgrade should work well. It will uninstall the old files and then
install the new files. (Not necessarily in that order). So you'll
essentially be working with a clean slate when you do the major upgrade. 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Condition-for-files-tp7581833p7581837.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] util:XmlFile using old property value

2012-11-09 Thread Nick Ramirez
Have you tried making the name of the property all uppercase? SERVICE_URL?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/util-XmlFile-using-old-property-value-tp7581739p7581838.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] heat failing over a network

2012-11-09 Thread Bob Arnson
On 08-Nov-12 13:38, Matthew Clark wrote:
 I have an issue with a .net dll failing to be harvested over the network.  
 Harvesting works fine if the file is local, but when it is at a network 
 location it fails with the error:
.NET doesn't let you load assemblies from remote sources by default 
since it's a gaping security hole. See 
http://msdn.microsoft.com/en-us/magazine/ee677170.aspx.

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [WiX Burn Custom BA] Get ExePackage ExitCode

2012-11-09 Thread Bob Arnson
On 02-Nov-12 03:57, Amadeus wrote:
 We have a custom bootstrapper that among its installation packages is
 installing an ExePackage that can return a special code that means success -
 but show information to the user on completion.
Burn doesn't support that concept. There's success and 
success-with-reboot. Everything else is an error.

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ExePackage Progress

2012-11-09 Thread Bob Arnson
On 07-Nov-12 17:19, Neil Sleightholm wrote:
 Can anyone tell me how the burn progress bar works for ExePackages?
Burn bundles and .NET installers pipe real progress information. 
Everything else is 0..50..100 since Burn has no way of knowing anything 
more detailed.

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to invoke XmlFile standard custom action after ExitDialog

2012-11-09 Thread Bob Arnson
On 08-Nov-12 16:50, Norbert Schmid wrote:
 I have quite a simple wxs file using WixUI_Minimal. At the end of the
 install procedure I want to ask the user for an install option and depending
 on it I want to patch one entry in the installed exe.config file.
Don't. Ask before the install. At the completion page, the install can 
no longer do things that require elevated privileges.

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem in Major upgrade

2012-11-09 Thread Chris Lord
Yes.  It depends when you have scheduled RemoveExisitingProducts.

The documenation for WiX explains all the options.

Chris

 

-Original Message-
From: Chaitanya [mailto:chaita...@pointcross.com] 
Sent: Friday, November 09, 2012 2:26 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem in Major upgrade

Thanks for responding..
After your message I tried it.upgrade is working.but it is deleting the 
older version,upgrading the newer.
But in my scenario I don't want to delete old files.i want to replace 
new files to my older version.Is it Possible.

-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com]
Sent: 08 November 2012 20:32
To: wix-users
Subject: Re: [WiX-users] Problem in Major upgrade

Chaitanya

Are both the original and the update installtion the same type?  If one 
is per-user and the other is per-machine then the upgrade wont work.  
You could also run the Upgrade with verbose logging enabled.  The log 
will tell you why it didnt remove the older version.

Also, give the version you use, I'd go with what Neil suggested and 
investigate and use the MajorUpgrade element instead.  It tidies 
things up a lot.

Chris


-Original Message-
From: Chaitanya [mailto:chaita...@pointcross.com]
Sent: Thursday, November 08, 2012 5:18 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem in Major upgrade

Iam using wix 3.5

-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com]
Sent: 07 November 2012 20:41
To: wix-users
Subject: Re: [WiX-users] Problem in Major upgrade

Chaitanya

What version of Wix are you using?

Chris 

-Original Message-
From: Chaitanya [mailto:chaita...@pointcross.com]
Sent: Wednesday, November 07, 2012 4:43 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Problem in Major upgrade

Hi,

Iam trying to do major upgrade.

Its doing action but in my control panel it is showing two entries don't 
want two entries.

Here is my upgrade code.

Upgrade Id=5CFFD7A1-03B9-4B07-87C0-9B84555CC15D

  UpgradeVersion Minimum=1.0.0.0 IncludeMinimum=no 
OnlyDetect=yes
Property=NEWPRODUCTFOUND Language=1033 /

  UpgradeVersion Minimum=1.0.0.0 IncludeMinimum=yes
Maximum=2.0.0.0 IncludeMaximum=no Property=UPGRADEFOUND
Language=1033 /

/Upgrade

CustomAction Id=PreventDowngrading Error=Newer Version Already 
Installed /

InstallExecuteSequence

  Custom Action=PreventDowngrading
After=FindRelatedProductsnewProductFound/Custom

  RemoveExistingProducts
After=InstallFinalize/RemoveExistingProducts

/InstallExecuteSequence

Iam changing the product code and maintaining upgrade code same. Through 
command line msiexec /I {.msi} ALLUSERS=1

Please help  me where im doing wrong.

Thanks,

Chaitanya.


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center 
Diagnose problems and improve visibility into emerging IT issues 
Automate, monitor and manage. Do more in less time with Central 
http://p.sf.net/sfu/logmein12331_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center 
Diagnose problems and improve visibility into emerging IT issues 
Automate, monitor and manage. Do more in less time with Central 
http://p.sf.net/sfu/logmein12331_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for 
free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for 
free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for 
free today:
http://p.sf.net/sfu/appdyn_d2d_nov

Re: [WiX-users] [WiX Burn Custom BA] Get ExePackage ExitCode

2012-11-09 Thread Hoover, Jacob
One could write a custom BA to handle this. You'd simply capture the success 
with info code, and set a variable in the BA that it happened and return to the 
engine a success message. Then upon install complete, evaluate your variable 
and optionally show the more info to the end user.

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Thursday, November 08, 2012 11:24 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [WiX Burn Custom BA] Get ExePackage ExitCode

On 02-Nov-12 03:57, Amadeus wrote:
 We have a custom bootstrapper that among its installation packages is 
 installing an ExePackage that can return a special code that means 
 success - but show information to the user on completion.
Burn doesn't support that concept. There's success and success-with-reboot. 
Everything else is an error.

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ExePackage Progress

2012-11-09 Thread Neil Sleightholm
But as a percentage of what?

Neil


On 07-Nov-12 17:19, Neil Sleightholm wrote:
 Can anyone tell me how the burn progress bar works for ExePackages?
Burn bundles and .NET installers pipe real progress information.
Everything else is 0..50..100 since Burn has no way of knowing anything
more detailed.

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


--

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] app.config within my customaction dll...

2012-11-09 Thread StevenOgilvie
Hi all,

I have a custom action dll (C# custom action dll) that calls a managed
utility dll…
We need to update the connecton string, so I have placed it in the
app.config…

When the installer is packaged, does the app.config (well the name of
project.dll.config file) get packaged with it as well? how can the c# custom
action dll interact with it?

At runtime where is the app.config located? And the custom action dll?

Thanks,

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/app-config-within-my-customaction-dll-tp7581847.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] app.config within my customaction dll...

2012-11-09 Thread Hoover, Jacob
Wix only packages the files you tell it to, so I would look at your WXS file to 
see if the .config file is referenced.

Which config file are you trying to modify?  Is it one for your CA DLL or the 
managed utility DLL, or is this a setting you want to update for the installed 
application? Is there a reason you wouldn't pass the connection string 
information as custom action data if you need to pass it to the custom action 
DLL? (Assuming you want to modify your installed applications config file, you 
should assign a property the value you want to use, and then use 
XmlFile/XmlConfig to allow the installer to modify the file.)

Runtime of the installer or runtime of your application?

-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: Friday, November 09, 2012 11:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] app.config within my customaction dll...

Hi all,

I have a custom action dll (C# custom action dll) that calls a managed utility 
dll… We need to update the connecton string, so I have placed it in the 
app.config…

When the installer is packaged, does the app.config (well the name of 
project.dll.config file) get packaged with it as well? how can the c# custom 
action dll interact with it?

At runtime where is the app.config located? And the custom action dll?

Thanks,

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/app-config-within-my-customaction-dll-tp7581847.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Noob question: Conditional overwrite

2012-11-09 Thread kpeters58
Hi all, 

I need to detect if a file with name xxx sits beside the MSI during install
and if it does, copy it
 
A) over top of a freshly installed file by the same name in the product
directory (in case of a
 fresh install) 

B) over top of an already existing file by the same name in the product
directory (in case of an
 update) 

I believe that I need to use CopyFile and FileSearch to achieve this but am
not clear on how to do
 this; for instance, does sequencing come into play (in the case of A)
obviously the file copying
 must already have happened before I can attempt to overwrite). 

Any pitfalls around sufficient rights to overwriting files? 



Thanks for any pointers, 
K 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Noob-question-Conditional-overwrite-tp7581849.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users