[WiX-users] Wix for ASP.Net Web Application

2010-08-05 Thread Satyaprakash J
Hi,
I would like use Wix for deploying a ASP.Net Web Application.  
I have added the Wix project to the solution which contains the ASP.NET Web 
Application. I would like to know if there is an automated way to generate the 
.wxs file for the ASP.NET Web Application.

Thanks
Satyaprakash J
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CustomAction doesn't execute

2010-08-05 Thread Christian Tusch
Hello,

could anybody tell me why this won't show me a message box?

CustomAction Id=ShowMbox Error=asdasd /

InstallExecuteSequence
  Custom Action=ShowMbox Before=LaunchConditions/
/InstallExecuteSequence

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Change caption off a Messagebox shown from CA

2010-08-05 Thread Zlatko Lovcevic

I'm using Session.Message to spawn a Messegebox from some CA. Is there a way
to change Caption on a spawned Messagebox?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Change-caption-off-a-Messagebox-shown-from-CA-tp5375949p5375949.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installer crashes on windows 2008 server

2010-08-05 Thread Sanjay Rao
Hi,

I am having an installer which takes a lot of time after license 
agreement dialog. In the mean time it displays a dialog box saying 
computing space requirement. This dialog box has a return button on 
it. After a long time this dialog box disappears. This dialog box has 
two different behavior on windows XP and server 2008.
1. If I click return button on windows XP. installtion completes 
successfully.
2. If I click return button on server 2008, installer crashes after 
verifyReadyDlg.

Do I need to do something different for taking care of this issue on 
windows server 2008 ?

Regards,
Sanjay Rao



--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to set TARGETDIR and SourceDir

2010-08-05 Thread Satyaprakash J
Hi,
But When I run heat on a directory, the source attribute of File is 
set to SourceDir\FileName. Is there a way to override this.

Thanks
Satyaprakash J

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Wednesday, August 04, 2010 3:55 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to set TARGETDIR and SourceDir

Long Answer:

SourceDir - http://msdn.microsoft.com/en-us/library/aa371857.aspx
TARGETDIR - http://msdn.microsoft.com/en-us/library/aa372064.aspx

Short Answer:

You can't/shouldn't unless you're doing an administrative installation
in which case supply it on the command line.

Why do you want to?

Palbinder Sandher 
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-Original Message-
From: Satyaprakash J [mailto:sat...@smartek21.com] 
Sent: 04 August 2010 09:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to set TARGETDIR and SourceDir

Hi
I am newbie to Wix. I would like to know how to set the
TARGETDIR and the SourceDir which are specified in the wxs file.

Thanks
Satyaprakash J

--
The Palm PDK Hot Apps Program offers developers who use the Plug-In
Development Kit to bring their C/C++ apps to Palm for a share of $1
Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wxs file

2010-08-05 Thread Satyaprakash J
Hi,
Is there an automated way to generate wxs file for a ASP.NET 
web application project. I know we can use heat, but heat does not add dlls 
referenced in the project.

Thanks
Satyaprakash J
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Changing a main module property value within a merge module custom action

2010-08-05 Thread Sudripta Nandy
Hi,
In my setup project, I am having a main module and a merge module. I 
have a property called 'MYPROP' declared in the main module. I need to do 
some operations in the merge module's custom action and depending on the 
operation result, I need to set the value of 'MYPROP' to '0' or '1'. I am 
able to get the property's value correctly within the merge module's custom 
action using MsiGetProperty. But, when I try to change that value 'MYPROP' 
within that custom action using a call to 'MsiSetProperty' it doesn't get 
reflected within the main module. The main module still has the old 'MYPROP' 
value.

Is there any way in which I can change a main module's property value 
from within a merge module's custom action?



Thanks.
Sudripta. 


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] setupbld setup.exe repair install

2010-08-05 Thread Sagar1111

hi Warne any guideline on using msistuff.exe ?


Also which setup.exe should i use in command line? the one available with
from Wix toolset?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/setupbld-setup-exe-repair-install-tp3973894p5376436.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installer crashes on windows 2008 server

2010-08-05 Thread Rahul.Ekbote
Hi,
Windows 2008 is with very high security. So please check do you have
permissions on registry, folder (drive), temp folder etc.

Thanks,
Rahul

-Original Message-
From: Sanjay Rao [mailto:s...@noida.interrasystems.com] 
Sent: Thursday, August 05, 2010 5:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installer crashes on windows 2008 server

Hi,

I am having an installer which takes a lot of time after license 
agreement dialog. In the mean time it displays a dialog box saying 
computing space requirement. This dialog box has a return button on 
it. After a long time this dialog box disappears. This dialog box has 
two different behavior on windows XP and server 2008.
1. If I click return button on windows XP. installtion completes 
successfully.
2. If I click return button on server 2008, installer crashes after 
verifyReadyDlg.

Do I need to do something different for taking care of this issue on 
windows server 2008 ?

Regards,
Sanjay Rao




--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installer crashes on windows 2008 server

2010-08-05 Thread Sanjay Rao
But it does not have issues if I do not click on return button.

rahul.ekb...@sungard.com wrote:
 Hi,
 Windows 2008 is with very high security. So please check do you have
 permissions on registry, folder (drive), temp folder etc.

 Thanks,
 Rahul

 -Original Message-
 From: Sanjay Rao [mailto:s...@noida.interrasystems.com] 
 Sent: Thursday, August 05, 2010 5:00 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Installer crashes on windows 2008 server

 Hi,

 I am having an installer which takes a lot of time after license 
 agreement dialog. In the mean time it displays a dialog box saying 
 computing space requirement. This dialog box has a return button on 
 it. After a long time this dialog box disappears. This dialog box has 
 two different behavior on windows XP and server 2008.
 1. If I click return button on windows XP. installtion completes 
 successfully.
 2. If I click return button on server 2008, installer crashes after 
 verifyReadyDlg.

 Do I need to do something different for taking care of this issue on 
 windows server 2008 ?

 Regards,
 Sanjay Rao



 
 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



   




--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Newbie question

2010-08-05 Thread Satyaprakash J
Hi,
I have created a ASP.NET application project in Visual Studio. 
I have created the wxs file. Now if I add a new file to the ASP.NET application 
project, it looks like we have to manually update the wxs file also.  Is there 
an automated way of updating the wxs file?

Thanks
Satyaprakash J
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to get vaues from C# custom action

2010-08-05 Thread ricky21

I am doing a check in C# custom action and if some condition satiisfies ,
then i am returning ActionResult.Sucess or ActionResult.Failure ?
My question is how to get these status codes in my script?
I have set the attribute Return=Check in custom action attributes and this
custom action is basically a pre-requisite for the installation, i.e if it
returns ActionResult.Failure installation should not proceed and exit.
I tried using Session[MANAGEMENT]=1 and then reading this MANAGEMENT wxs
file. I even tried defining this MANAGEMENT in wxs file and then passing
this as parameter to the custom action and then check its value when it
returns from custom action. 
SO basically i need to know how to check if the custom action is returning
ActionResult.Sucess or ActionResult.Failure ?


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-vaues-from-C-custom-action-tp5376846p5376846.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to get vaues from C# custom action

2010-08-05 Thread ricky21

I am doing a check in C# custom action and if some condition satiisfies ,
then i am returning ActionResult.Sucess or ActionResult.Failure ?
My question is how to get these status codes in my script?
I have set the attribute Return=Check in custom action attributes and this
custom action is basically a pre-requisite for the installation, i.e if it
returns ActionResult.Failure installation should not proceed and exit.
I tried using Session[MANAGEMENT]=1 and then reading this MANAGEMENT in
wxs file. I even tried defining this MANAGEMENT in wxs file and then passing
this as parameter to the custom action and then check its value when it
returns from custom action. 
SO basically i need to know how to check if the custom action is returning
ActionResult.Sucess or ActionResult.Failure ?


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-get-vaues-from-C-custom-action-tp5376847p5376847.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error LGHT0004 : The wixObject element contains an unexpected attribute 'src'.

2010-08-05 Thread Vijai Kalyanapasupathy
That makes sense. Maybe a specific project is explicitly using version 2.x. We 
have both checked in (2.x and 3.0). I will search through the tree and kill 
those and see if that works.

Thanks,

Vijai.


From: Blair [os...@live.com]
Sent: Wednesday, August 04, 2010 10:38 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] error LGHT0004 : The wixObject element contains an 
unexpected attribute 'src'.

I haven't looked back to see exactly how long ago this attribute was removed
(it exists in wixobj files from v2 but not v3-RTM) what I am wondering is if
you are either building against wixobj/wixlib files built previously instead
of compiling everything new or if you are saving wixobj files from older
builds and attempting to reuse them in newer builds.

Otherwise I don't see how you can get that error in a clean build (no matter
the order in which projects are built) unless the different projects are
each using different builds of WiX.

-Original Message-
From: Vijai Kalyanapasupathy [mailto:vkal...@microsoft.com]
Sent: Wednesday, August 04, 2010 11:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] error LGHT0004 : The wixObject element contains an
unexpected attribute 'src'.

Hi All,

I recently upgrade our build toolset. Once I did that (most likely because
we moved from an older version of Wix), I started receiving this error in a
couple of projects. I initially though it might be due to a race condition
(dependent projects being built later), but it looks more like an invalid
wixobj is being generated. Any ideas on where I should start looking?

Thanks,

Vijai Kalyansip:vkal...@microsoft.com


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] installing files to user's application data folder

2010-08-05 Thread michaelrepucci

I'm a complete newbie to WiX and Windows Installer. I've worked through the
tutorials and documentation, and feel pretty comfortable with all the
basics. Now I'm trying to create an installer to fit my requirements, and
while the basic install of the app and shortcuts, including conditions, and
custom UI, works just fine, I'm struggling with a special requirement.

What I have is an app that can run standalone, or can act as an add-on to a
3rd-party software package. I can install the app just fine, but in order to
add a reference to my app on the toolbar of the 3rd-party software, I need
to install some XML files to the user's %Application Data% folder. I started
with:

Directory Id=AppDataFolder
Directory Id=3rdPartyAppData Name=3rdParty
Directory Id=3rdPartyAppDataSubfolder Name=Subfolder
Component Id=3rdPartyToolbar Guid=PUT-GUID-HERE
File Id=Toolbar Name=an.xml 
Source=the.xml DiskId=1
KeyPath=yes /
/Component
/Directory
/Directory
/Directory

but I get an ICE38 error that says I can't use the file as the KeyPath. I
don't understand why that's the case, since I can use my app's file as the
KeyPath in the primary component (not shown). I tried searching online for
this issue, but all I found were people placing shortcuts into the user's
profile, not files. Perhaps I'm installing this file in a non-standard
manner. Is there another recommended way to do this? In a similar manner as
for shortcuts - but what I feel is a hack in this situation - I can add a
registry value to the Component tag as the KeyPath to prevent this error.

However, I also get a couple ICE64 errors about these user profile
directories not being in the RemoveFile table. I thought I'd solve those
issue by adding the following within the Component tag:

RemoveFolder Id=3rdPartyAppDataSubfolder On=uninstall /
RemoveFolder Id=3rdPartyAppData On=uninstall /

but it doesn't seem to notice these entries. Where do I have to place them?
BTW, these directories may or may not exist, depending on whether the user
has other add-ons installed for this 3rd-party software. So I wouldn't
necessarily want the RemoveFolder tag to remove the folder, but to do so
only if my installer had to create the directories. I assume this is the
default behavior, but please let me know if it is not.

Thank you in advance for your help!

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/installing-files-to-user-s-application-data-folder-tp5377311p5377311.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WIX 3.5

2010-08-05 Thread Victor Mora
Can anyone help me out, about how to integrate Wix 3.5 installer project into a 
Tfs Build (im using TFS 2010)

Or maybe point me into some tutorials about it?

Thanks,
Victor Mora
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Modify Group Policy with WiX

2010-08-05 Thread Sajo Jacob
Does WiX support modifying group policy? I need to enable the GP  force a
specific visual style file or force Windows Classic from my MSI.

Thanks,
Jacob
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] installing files to user's application data folder

2010-08-05 Thread Chris Lord
Michael,

With only one file in the component, you probably don't need the 
KeyPath.  My WXS doesn't need the KeyPath for a file (I have a single 
file in each component) and it passes all ICE tests.

As far as putting files into a specific user folder that should be OK if 
you are doing a per-user install.  I suspect though that you are not and 
are doing a per-machine install instead in which case placing files in a 
specific users folder is fraught with problems and hence the warning.  
For example, what if another user tries to uninstall you application?  
They won't be able to access the file as its in another users files and 
thus the installer can't remove it and leaving files behind is 
considered bad installation design.  If you are doing a per-machine 
install, then you should place the file into a common folder rather than 
a specific user folder.

Chris


On 08/05/2010 12:37 PM, michaelrepucci wrote:
 I'm a complete newbie to WiX and Windows Installer. I've worked through the
 tutorials and documentation, and feel pretty comfortable with all the
 basics. Now I'm trying to create an installer to fit my requirements, and
 while the basic install of the app and shortcuts, including conditions, and
 custom UI, works just fine, I'm struggling with a special requirement.

 What I have is an app that can run standalone, or can act as an add-on to a
 3rd-party software package. I can install the app just fine, but in order to
 add a reference to my app on the toolbar of the 3rd-party software, I need
 to install some XML files to the user's %Application Data% folder. I started
 with:

 Directory Id=AppDataFolder
   Directory Id=3rdPartyAppData Name=3rdParty
   Directory Id=3rdPartyAppDataSubfolder Name=Subfolder
   Component Id=3rdPartyToolbar Guid=PUT-GUID-HERE
   File Id=Toolbar Name=an.xml 
 Source=the.xml DiskId=1
 KeyPath=yes /
   /Component
   /Directory
   /Directory
 /Directory

 but I get an ICE38 error that says I can't use the file as the KeyPath. I
 don't understand why that's the case, since I can use my app's file as the
 KeyPath in the primary component (not shown). I tried searching online for
 this issue, but all I found were people placing shortcuts into the user's
 profile, not files. Perhaps I'm installing this file in a non-standard
 manner. Is there another recommended way to do this? In a similar manner as
 for shortcuts - but what I feel is a hack in this situation - I can add a
 registry value to the Component tag as the KeyPath to prevent this error.

 However, I also get a couple ICE64 errors about these user profile
 directories not being in the RemoveFile table. I thought I'd solve those
 issue by adding the following within the Component tag:

 RemoveFolder Id=3rdPartyAppDataSubfolder On=uninstall /
 RemoveFolder Id=3rdPartyAppData On=uninstall /

 but it doesn't seem to notice these entries. Where do I have to place them?
 BTW, these directories may or may not exist, depending on whether the user
 has other add-ons installed for this 3rd-party software. So I wouldn't
 necessarily want the RemoveFolder tag to remove the folder, but to do so
 only if my installer had to create the directories. I assume this is the
 default behavior, but please let me know if it is not.

 Thank you in advance for your help!



--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] installing files to user's application data folder

2010-08-05 Thread michaelrepucci


Chris Lord-2 wrote:
 
 With only one file in the component, you probably don't need the 
 KeyPath.  My WXS doesn't need the KeyPath for a file (I have a single 
 file in each component) and it passes all ICE tests.
 

I would have thought so, but I get the same ICE38 error. Based on the MSDN
documentation -
http://msdn.microsoft.com/en-us/library/aa368961%28VS.85%29.aspx - the
registry key is required for any file placed in the user's profile. I
suppose it's not worth asking why this is the case; I should just accept
that's how it is. But it threw up a red flag for me that perhaps I wasn't
putting files into the AppDataFolder in the correct or recommended way.


Chris Lord-2 wrote:
 
 As far as putting files into a specific user folder that should be OK if 
 you are doing a per-user install.  I suspect though that you are not and 
 are doing a per-machine install instead in which case placing files in a 
 specific users folder is fraught with problems and hence the warning.  
 

I guess I must admit that I'm not sure what I'm doing. I thought (assumed)
that I was doing a per-user install (that's my intention), but honestly
don't know how to switch from per-user to per-machine or vice versa. I don't
recall learning this from the tutorials, so any tips would be much
appreciated. Thanks!
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/installing-files-to-user-s-application-data-folder-tp5377311p5377658.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] installing files to user's application data folder

2010-08-05 Thread michaelrepucci

I did find a work-around for the ICE64 errors, but it seems a bit clunky (see
below). Can anybody confirm whether this is the correct way to do this?

Directory Id=AppDataFolder
Directory Id=3rdPartyAppData Name=3rdParty
Component Id=3rdPartyAppDataFolder Guid=PUT-GUID-HERE
RemoveFolder Id=3rdPartyAppData On=uninstall / 
/Component
Directory Id=3rdPartyAppDataSubfolder Name=Subfolder
Component Id=3rdPartyToolbar
Guid=PUT-GUID-HERE
File Id=Toolbar Name=an.xml
Source=the.xml DiskId=1 KeyPath=yes /
RemoveFolder Id=3rdPartyAppDataSubfolder
On=uninstall / 
/Component
/Directory
/Directory
/Directory
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/installing-files-to-user-s-application-data-folder-tp5377311p5377739.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] installing files to user's application data folder

2010-08-05 Thread michaelrepucci

Oh, my bad. I forgot the

RegistryValue Root=HKCU Key=Software\[Manufacturer]\[ProductName]
Type=string Value= KeyPath=yes /

that belongs in each component. Still not an elegant solution, so comments
welcome. Thanks!
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/installing-files-to-user-s-application-data-folder-tp5377311p5377751.html
Sent from the wix-users mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] reboot prompt appears before uninstall on Vista

2010-08-05 Thread Bisht, Pradeep
I have a set of custom actions and reboot scheduled at the end for both install 
and uninstall in non-silent mode. It works fine for install on all windows 
platform. Uninstall from Add/Remove program also works fine on all but Vista. 
On 
Vista reboot prompt pops even before the uninstall is actually complete 
(progress bar is still in progress). Following is my WIX code. Ang suggestions 
what might me wrong ? Thank you.
 
  InstallExecuteSequence
    !-- install --
    Custom Action=InstallDreamWorld After=InstallFiles
  (NOT Installed) 
    /Custom
    Custom Action=InstallDreamUniverse After=InstallDreamWorld
  NOT Installed
    /Custom
    !-- uninstall --
    Custom Action=UninstallDreamUniverse Before=UninstallDreamWorld
  Installed AND (REMOVE=ALL) AND (NOT UPGRADINGCODE)
    /Custom
    Custom Action=UninstallDreamWorld Before=RemoveFiles
  Installed AND (REMOVE=ALL) AND (NOT UPGRADINGCODE)
    /Custom
    
    !-- schedule reboot in non-silent mode only -- 
    ScheduleReboot After=InstallFinalize
  ![CDATA[UILevel  2]]
    /ScheduleReboot
  /InstallExecuteSequence



  

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] reboot prompt appears before uninstall on Vista

2010-08-05 Thread Bisht, Pradeep
I have a set of custom actions and reboot scheduled at the end for both install 
and uninstall in non-silent mode. It works fine for install on all windows 
platform. Uninstall from Add/Remove program also works fine on all but Vista. 
On 

Vista reboot prompt pops even before the uninstall is actually complete 
(progress bar is still in progress). If I chose to click on yes I see 
problems 
on
next boot. But if I click on no and wait for sometime before manually 
rebooting the
system all is fine on next boot.


 Following is my WIX code. Ang suggestions 
what might me wrong ? Thank you.
 
  InstallExecuteSequence
    !-- install --
    Custom Action=InstallDreamWorld After=InstallFiles
  (NOT Installed) 
    /Custom
    Custom Action=InstallDreamUniverse After=InstallDreamWorld
  NOT Installed
    /Custom
    !-- uninstall --
    Custom Action=UninstallDreamUniverse Before=UninstallDreamWorld
  Installed AND (REMOVE=ALL) AND (NOT UPGRADINGCODE)
    /Custom
    Custom Action=UninstallDreamWorld Before=RemoveFiles
  Installed AND (REMOVE=ALL) AND (NOT UPGRADINGCODE)
    /Custom
    
    !-- schedule reboot in non-silent mode only -- 
    ScheduleReboot After=InstallFinalize
  ![CDATA[UILevel  2]]
    /ScheduleReboot
  /InstallExecuteSequence


  

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modify Group Policy with WiX

2010-08-05 Thread Christopher Painter
I shudder at the thought.  I would be so angry if I installed software that did 
this to my machine.  Software should never be this tightly coupled to a 
specific 
visual style and if you are otherwise authorized to make these types of changes 
because you own the environment it shouldn't be done through an install but 
rather through Active Directory GPO directly.

 
- Original Message 
From: Sajo Jacob spja...@gmail.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Thu, August 5, 2010 12:25:25 PM
Subject: [WiX-users] Modify Group Policy with WiX

Does WiX support modifying group policy? I need to enable the GP  force a
specific visual style file or force Windows Classic from my MSI.

Thanks,
Jacob
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] reboot prompt appears before uninstall on Vista

2010-08-05 Thread Bisht, Pradeep
Forgot to mention that my custom actions are deferred and check:

  CustomAction Id=InstallDreamWorld
    Directory=DreamWorld
    ExeCommand=setup.exe /install
    Execute=deferred
    Return=check/
  CustomAction Id=UninstallDreamWorld
    Directory=DreamWorld
    ExeCommand=setup.exe /uninstall
    Execute=deferred
    Return=check/
  
  CustomAction Id=InstallDreamUniverse
    Directory=DreamUniverse
    ExeCommand=setup.exe /install
    Execute=deferred
    Return=check/

  CustomAction Id=UninstallDreamUniverse
    Directory=DreamUniverse
    ExeCommand=setup.exe /uninstall
    Execute=deferred
    Return=check/

 


- Original Message 
From: Bisht, Pradeep pradeep_bi...@yahoo.com
To: wix-users@lists.sourceforge.net
Sent: Thu, August 5, 2010 11:53:21 AM
Subject: [WiX-users] reboot prompt appears before uninstall on Vista

I have a set of custom actions and reboot scheduled at the end for both install 
and uninstall in non-silent mode. It works fine for install on all windows 
platform. Uninstall from Add/Remove program also works fine on all but Vista. 
On 


Vista reboot prompt pops even before the uninstall is actually complete 
(progress bar is still in progress). If I chose to click on yes I see 
problems 

on
next boot. But if I click on no and wait for sometime before manually 
rebooting the
system all is fine on next boot.


 Following is my WIX code. Ang suggestions 
what might me wrong ? Thank you.
 
  InstallExecuteSequence
    !-- install --
    Custom Action=InstallDreamWorld After=InstallFiles
  (NOT Installed) 
    /Custom
    Custom Action=InstallDreamUniverse After=InstallDreamWorld
  NOT Installed
    /Custom
    !-- uninstall --
    Custom Action=UninstallDreamUniverse Before=UninstallDreamWorld
  Installed AND (REMOVE=ALL) AND (NOT UPGRADINGCODE)
    /Custom
    Custom Action=UninstallDreamWorld Before=RemoveFiles
  Installed AND (REMOVE=ALL) AND (NOT UPGRADINGCODE)
    /Custom
    
    !-- schedule reboot in non-silent mode only -- 
    ScheduleReboot After=InstallFinalize
  ![CDATA[UILevel  2]]
    /ScheduleReboot
  /InstallExecuteSequence


      

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modify Group Policy with WiX

2010-08-05 Thread Sajo Jacob
This is required for our software package to work. Without going much into
the details, these installs are done on our VM's which hosts our solution
and not on any user machines.

Is this supported natively in WiX?

Jacob

On Thu, Aug 5, 2010 at 1:54 PM, Christopher Painter 
chr...@deploymentengineering.com wrote:

 I shudder at the thought.  I would be so angry if I installed software that
 did
 this to my machine.  Software should never be this tightly coupled to a
 specific
 visual style and if you are otherwise authorized to make these types of
 changes
 because you own the environment it shouldn't be done through an install but
 rather through Active Directory GPO directly.


 - Original Message 
 From: Sajo Jacob spja...@gmail.com
 To: General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Sent: Thu, August 5, 2010 12:25:25 PM
 Subject: [WiX-users] Modify Group Policy with WiX

 Does WiX support modifying group policy? I need to enable the GP  force a
 specific visual style file or force Windows Classic from my MSI.

 Thanks,
 Jacob

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modify Group Policy with WiX

2010-08-05 Thread Bisht, Pradeep
Hi Christopher, this is not tightly coupled to a visual style. In silent mode i 
have a top level installer that takes care of reboot based upon the status of 
bunch of smaller installers. In GUI mode user is directly invoking the 
installer/uninstall and hence the difference.

-

Forgot to mention that my custom actions are deferred and check:

  CustomAction Id=InstallDreamWorld
    Directory=DreamWorld
    ExeCommand=setup.exe /install
    Execute=deferred
    Return=check/
  CustomAction Id=UninstallDreamWorld
    Directory=DreamWorld
    ExeCommand=setup.exe /uninstall
    Execute=deferred
    Return=check/
  
  CustomAction Id=InstallDreamUniverse
    Directory=DreamUniverse
    ExeCommand=setup.exe /install
    Execute=deferred
    Return=check/

  CustomAction Id=UninstallDreamUniverse
    Directory=DreamUniverse
    ExeCommand=setup.exe /uninstall
    Execute=deferred
    Return=check/




- Original Message 
From: Christopher Painter chr...@deploymentengineering.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Thu, August 5, 2010 11:54:47 AM
Subject: Re: [WiX-users] Modify Group Policy with WiX

I shudder at the thought.  I would be so angry if I installed software that did 
this to my machine.  Software should never be this tightly coupled to a 
specific 

visual style and if you are otherwise authorized to make these types of changes 
because you own the environment it shouldn't be done through an install but 
rather through Active Directory GPO directly.

 
- Original Message 
From: Sajo Jacob spja...@gmail.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Thu, August 5, 2010 12:25:25 PM
Subject: [WiX-users] Modify Group Policy with WiX

Does WiX support modifying group policy? I need to enable the GP  force a
specific visual style file or force Windows Classic from my MSI.

Thanks,
Jacob
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to set TARGETDIR and SourceDir

2010-08-05 Thread Blair
The Source attribute of the File element currently ignores the SourceDir\
beginning when it finds it. However, you can override it using the -var
parameter (see the heat tool's commandline help for details).

-Original Message-
From: Satyaprakash J [mailto:sat...@smartek21.com] 
Sent: Thursday, August 05, 2010 5:03 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to set TARGETDIR and SourceDir

Hi,
But When I run heat on a directory, the source attribute of File
is set to SourceDir\FileName. Is there a way to override this.

Thanks
Satyaprakash J

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Wednesday, August 04, 2010 3:55 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to set TARGETDIR and SourceDir

Long Answer:

SourceDir - http://msdn.microsoft.com/en-us/library/aa371857.aspx
TARGETDIR - http://msdn.microsoft.com/en-us/library/aa372064.aspx

Short Answer:

You can't/shouldn't unless you're doing an administrative installation
in which case supply it on the command line.

Why do you want to?

Palbinder Sandher 
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-Original Message-
From: Satyaprakash J [mailto:sat...@smartek21.com] 
Sent: 04 August 2010 09:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to set TARGETDIR and SourceDir

Hi
I am newbie to Wix. I would like to know how to set the
TARGETDIR and the SourceDir which are specified in the wxs file.

Thanks
Satyaprakash J

--
The Palm PDK Hot Apps Program offers developers who use the Plug-In
Development Kit to bring their C/C++ apps to Palm for a share of $1
Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing a main module property value within a merge module custom action

2010-08-05 Thread Blair
I don't know if this will work, but did you suppress modularization on the
MYPROP variable in your merge module?

BTW, if I can make a plug: if you can get away with using WixLibs instead of
MSMs they are much easier to work with, much more flexible, easier to
understand, and tend to be less buggy.

-Original Message-
From: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in] 
Sent: Thursday, August 05, 2010 5:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Changing a main module property value within a merge
module custom action

Hi,
In my setup project, I am having a main module and a merge module. I 
have a property called 'MYPROP' declared in the main module. I need to do 
some operations in the merge module's custom action and depending on the 
operation result, I need to set the value of 'MYPROP' to '0' or '1'. I am 
able to get the property's value correctly within the merge module's custom 
action using MsiGetProperty. But, when I try to change that value 'MYPROP' 
within that custom action using a call to 'MsiSetProperty' it doesn't get 
reflected within the main module. The main module still has the old 'MYPROP'

value.

Is there any way in which I can change a main module's property value 
from within a merge module's custom action?



Thanks.
Sudripta. 



--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] msi upgrade problems per-user vs per-machine contextfailure

2010-08-05 Thread Lukasz Zalewski
On 8/4/2010 7:39 PM, Blair wrote:
 From the install log you sent the link to earlier:

 What is standing out to me (from the properties, this is (I'm assuming)
 installing 0.5.0 over 0.3.0 via major upgrade):

 Before the sequence table is parsed:

 MSI (s) (78:4C) [20:14:06:466]: Product not registered: beginning first-time
 install
 MSI (s) (78:4C) [20:14:06:466]: Determined that existing product (either
 this product or the product being upgraded with a patch) is installed
 per-user.
 MSI (s) (78:4C) [20:14:06:467]: PROPERTY CHANGE: Deleting ALLUSERS property.
 Its current value is '1'.
 MSI (s) (78:4C) [20:14:06:467]: Product
 {F9B07DF3-06A7-4313-BA4D-40B1F046C6C4} is not managed.
 ...
 MSI (s) (78:4C) [20:14:06:467]: PROPERTY CHANGE: Adding ProductState
 property. Its value is '1'.
 MSI (s) (78:4C) [20:14:06:467]: Entering
 CMsiConfigurationManager::SetLastUsedSource.
 MSI (s) (78:4C) [20:14:06:467]: Specifed source is already in a list.
 MSI (s) (78:4C) [20:14:06:467]: User policy value 'SearchOrder' is 'nmu'
 MSI (s) (78:4C) [20:14:06:467]: Adding new sources is allowed.
 MSI (s) (78:4C) [20:14:06:467]: Package name retrieved from configuration
 data: 'wpkg-gp-0.5_x64.msi'

 After the sequence table is parsed (relevant lines):

 Action start 20:14:06: INSTALL.
 MSI (s) (78:4C) [20:14:06:552]: Running ExecuteSequence
 MSI (s) (78:4C) [20:14:06:554]: Doing action: FindRelatedProducts
 MSI (s) (78:4C) [20:14:06:555]: FindRelatedProducts: current install is
 per-user.  Related install for product
 '{A70E99ED-87C6-4142-88A7-8491459494A2}' is per-machine.  Skipping...

 That suggests to me three things:

 1. 0.3.0 is installed per-machine.
 2. 0.5.0 MSI is intended to be installed per-machine based on the initial
 value of ALLUSERS in the property table.
 3. 0.5.0 MSI is installing per-user. The reason appears to be that the 0.5.0
 MSI has been advertised into the per-user context before being installed.
 ProductState property value means INSTALLSTATE_ADVERTISED 1 The product is
 advertised but not installed.

 Whatever tool you are using to place the MSIs is advertising them into a
 different context than you want. You need to fix that. It isn't your MSI, it
 is your usage of the tool that you use to prepare for the installation. That
 tool (wpkg?) is overriding your per-machine preference.

 Blair


Hi Blair,
Thank you very much, that kind of proves my suspicion, which i didn't 
want to believe. I don't think the problem is not with wpkg as such but 
with wpkg-gp, which is a GPE client that installs/updates various 
packages, and with the context its running in. In this case its trying 
to update itself. The new files actually appear in the correct place and 
AFAICS things work correctly, but overall this can't be deemed as 
successful update.
What really confused me initially, was that some of the msi's and most 
of the apps that i have used did update correctly (for example 
TortoiseSVN msi's).

Kind Regards

Luk

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modify Group Policy with WiX

2010-08-05 Thread Christopher Painter
Natively, no.  In my expeirence trying to set things in GPO typically fails 
anyways because a domain controller will just come by a little bit later and 
fix it for you.

Why don't you just update your VM images?



- Original Message 
From: Sajo Jacob spja...@gmail.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Thu, August 5, 2010 2:06:25 PM
Subject: Re: [WiX-users] Modify Group Policy with WiX

This is required for our software package to work. Without going much into
the details, these installs are done on our VM's which hosts our solution
and not on any user machines.

Is this supported natively in WiX?

Jacob

On Thu, Aug 5, 2010 at 1:54 PM, Christopher Painter 
chr...@deploymentengineering.com wrote:

 I shudder at the thought.  I would be so angry if I installed software that
 did
 this to my machine.  Software should never be this tightly coupled to a
 specific
 visual style and if you are otherwise authorized to make these types of
 changes
 because you own the environment it shouldn't be done through an install but
 rather through Active Directory GPO directly.


 - Original Message 
 From: Sajo Jacob spja...@gmail.com
 To: General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Sent: Thu, August 5, 2010 12:25:25 PM
 Subject: [WiX-users] Modify Group Policy with WiX

 Does WiX support modifying group policy? I need to enable the GP  force a
 specific visual style file or force Windows Classic from my MSI.

 Thanks,
 Jacob

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Modify Group Policy with WiX

2010-08-05 Thread Sajo Jacob
We just have the ability to remotely install our solution, and can't reimage
the VM's unfortunately. Any other ideas?

On Thu, Aug 5, 2010 at 3:14 PM, Christopher Painter 
chr...@deploymentengineering.com wrote:

 Natively, no.  In my expeirence trying to set things in GPO typically fails
 anyways because a domain controller will just come by a little bit later
 and
 fix it for you.

 Why don't you just update your VM images?



 - Original Message 
 From: Sajo Jacob spja...@gmail.com
 To: General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Sent: Thu, August 5, 2010 2:06:25 PM
 Subject: Re: [WiX-users] Modify Group Policy with WiX

 This is required for our software package to work. Without going much into
 the details, these installs are done on our VM's which hosts our solution
 and not on any user machines.

 Is this supported natively in WiX?

 Jacob

 On Thu, Aug 5, 2010 at 1:54 PM, Christopher Painter 
 chr...@deploymentengineering.com wrote:

  I shudder at the thought.  I would be so angry if I installed software
 that
  did
  this to my machine.  Software should never be this tightly coupled to a
  specific
  visual style and if you are otherwise authorized to make these types of
  changes
  because you own the environment it shouldn't be done through an install
 but
  rather through Active Directory GPO directly.
 
 
  - Original Message 
  From: Sajo Jacob spja...@gmail.com
  To: General discussion for Windows Installer XML toolset.
  wix-users@lists.sourceforge.net
  Sent: Thu, August 5, 2010 12:25:25 PM
  Subject: [WiX-users] Modify Group Policy with WiX
 
  Does WiX support modifying group policy? I need to enable the GP  force
 a
  specific visual style file or force Windows Classic from my MSI.
 
  Thanks,
  Jacob
 
 
 --
  The Palm PDK Hot Apps Program offers developers who use the
  Plug-In Development Kit to bring their C/C++ apps to Palm for a share
  of $1 Million in cash or HP Products. Visit us here for more details:
  http://p.sf.net/sfu/dev2dev-palm
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 
 
 
 
 --
  The Palm PDK Hot Apps Program offers developers who use the
  Plug-In Development Kit to bring their C/C++ apps to Palm for a share
  of $1 Million in cash or HP Products. Visit us here for more details:
  http://p.sf.net/sfu/dev2dev-palm
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to modify iis administration.config file

2010-08-05 Thread ahmet aslan
Hello,
I'm trying to install my own IIS module on Windows 7 x64 system.

I did follow the steps on article 
http://jdhardy.blogspot.com/2008/10/installing-iis7-ui-extensions-with-wix.html 
using util:XmlConfig to modify administration.config located under 
%systemroot%\system32\inetsrv\config.

When I try to install my module using generated msi file, I got following 
exception :


Failed to open XML file c:\system32\inetsrv\config\administration.config, 
system 
error: -2147024786
what's wrong with my script?



  

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to modify iis administration.config file

2010-08-05 Thread Chad Petersen
If the error message is accurate it would seem to be dropping your
%systemroot% out of the path, which isn't too surprising. You might try
something more like

[WindowsFolder]\system32\inetsrv\config

Or

[SystemFolder]\inetsrv\config

-Original Message-
From: ahmet aslan [mailto:artic...@yahoo.com] 
Sent: Thursday, August 05, 2010 2:02 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to modify iis administration.config file

Hello,
I'm trying to install my own IIS module on Windows 7 x64 system.

I did follow the steps on article 
http://jdhardy.blogspot.com/2008/10/installing-iis7-ui-extensions-with-w
ix.html 
using util:XmlConfig to modify administration.config located under 
%systemroot%\system32\inetsrv\config.

When I try to install my module using generated msi file, I got
following 
exception :


Failed to open XML file
c:\system32\inetsrv\config\administration.config, system 
error: -2147024786
what's wrong with my script?



  


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] how can I check for FULL admin privileges

2010-08-05 Thread Alan Sinclair
The MSI I'm working has an immediate custom action (after InstallFinalize) 
which writes to HKLM. On Win7 etc it fails even if the logged-on user is an 
admin unless it's run from an Admin Command Prompt (msiexec /i ...). How can I 
check for FULL admin privileges? Can it be done with Windows Installer 
functions?  

Launch Condition Privileged is not sufficient, as it allows install started 
by double-click in Explorer to proceed for admin users -- the UAC prompt comes 
up then the install fails at the HKLM write.

Unfortunately the custom action is in a module shared with other packages, so I 
can't change it to run deferred/no-impersonate.

The fall-back position is adding a DLL to get a SID and check that for 
membership in the Administrators group, but a native Windows Installer or WiX 
solution would be much preferable.

Thanks


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how can I check for FULL admin privileges

2010-08-05 Thread Wilson, Phil
What I've seen recommended (I think from an MSI team member) is to have a type 
19 custom action in the Execute sequence that checks Privileged, because by 
then you're elevated or not. There is also MSIUSEREALADMINDETECTION, but it 
generally seems like a bad idea to try to preserve old behavior unless there's 
a good reason. 

Phil Wilson 


-Original Message-
From: Alan Sinclair [mailto:alan.sincl...@citrix.com] 
Sent: Thursday, August 05, 2010 2:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] how can I check for FULL admin privileges

The MSI I'm working has an immediate custom action (after InstallFinalize) 
which writes to HKLM. On Win7 etc it fails even if the logged-on user is an 
admin unless it's run from an Admin Command Prompt (msiexec /i ...). How can I 
check for FULL admin privileges? Can it be done with Windows Installer 
functions?  

Launch Condition Privileged is not sufficient, as it allows install started 
by double-click in Explorer to proceed for admin users -- the UAC prompt comes 
up then the install fails at the HKLM write.

Unfortunately the custom action is in a module shared with other packages, so I 
can't change it to run deferred/no-impersonate.

The fall-back position is adding a DLL to get a SID and check that for 
membership in the Administrators group, but a native Windows Installer or WiX 
solution would be much preferable.

Thanks


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Can you change the text of an installed file based on installation parameters?

2010-08-05 Thread michaelrepucci

I've got an XML file that will be installed along with my app, which refers
to my app's installed executable. (Sort of like a shortcut, except that this
XML is used by a 3rd-party app to invoke my app as an add-on. My app can
also run as a standalone app.) I'd like to give the user who installs my app
the choice of installation directory, but if I do so, then I somehow need to
pass that information into this XML file, so that it refers to the correct
location. I imagine some kind of preprocessor or parser that could replace a
predefined token in a text file to be installed on the user's system. Does
such a thing exist? Or could this somehow be accomplished with a custom
action? Any tips would be much appreciated. Thanks!

:) Michael
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Can-you-change-the-text-of-an-installed-file-based-on-installation-parameters-tp5378659p5378659.html
Sent from the wix-users mailing list archive at Nabble.com.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] TempFolder changes mid-install!?

2010-08-05 Thread Christian Froehlich
Hi All,

I was hoping someone could point me in the right 
direction as i have searched everywhere and have found no trace of this 
issue. Anyway...

I have an installer that functions well and seem
 to do everything i'd like, except on one system. On this system for 
some reason the TempFolder appears to change during the installation. 
This is a real problem for me as i have separate components that need to
 be in the same directory when a custom action runs.

Is there any conceivable reason why the TempFolder could change? Am i doing it 
wrong?

The WiX version i am using is: 3.5.1909.0
The server is running Windows 2003

And
 here is an except that generates the files. As you can see i have one 
DLL that gets installed to the same folder as two directories. These 2 
directories are specified in other files and just contain a bunch of SQL
 scripts.

        Directory Id=TARGETDIR Name=SourceDir
            !-- Temporary files using during install --
            Directory Id=TempFolder
                Directory Id=D.TempFolder Name=$(var.ProductGuid)
                    Component Id=C.MigrationAssembly 
Guid=67A41AA3-1A89-47c4-B47D-AD90C3FB4DB4
                        File Id=F.MigrationAssembly 
Source=$(var.DatabaseMigrationsLibPath) Vital=yes /
                    /Component
                    Directory Id=D.PROCS_DIR Name=Procedures
                    /Directory
                    Directory Id=D.STORED_PROCS_DIR Name=StoredProcedures
                    /Directory
                /Directory
            /Directory
        /Directory

The weird thing is that on another couple of systems i don't have this issue.
It
 says somewhere in the log Note: target paths subject to change (via 
custom actions or browsing), but how could this affect the TempFolder?

Thank you in advance,

Christian Froehlich



  
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX 3.5

2010-08-05 Thread Blair
Two ways (take your pick):

1) Install WiX on the build machine the same way you install it on the
developer machines.
2) Add the contents of the wix35-binaries.zip to a convenient place in your
solution/enlistment and follow Bob's suggestion on this page:
http://social.msdn.microsoft.com/forums/en-US/tfsbuild/thread/1cc7b91d-1cb4-
4850-8f7f-478dd2fc403e (which also appears on several other places via
simple searching). From the solution given, change the value for
WixTargetsPath from wix.targets to wix2010.targets.

-Original Message-
From: Victor Mora [mailto:victor.m...@axelerate.com] 
Sent: Thursday, August 05, 2010 9:25 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WIX 3.5

Can anyone help me out, about how to integrate Wix 3.5 installer project
into a Tfs Build (im using TFS 2010)

Or maybe point me into some tutorials about it?

Thanks,
Victor Mora

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users