[WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Cristian Prieto
BindPaths was exactly what I was looking for...

Thanks

Cristian Prieto


On Fri, Sep 21, 2012 at 3:44 PM, Rob Mensching
r...@robmensching.comjavascript:_e({}, 'cvml',
'r...@robmensching.com');
 wrote:

 Why do you want to copy your content to the obj directory? Are you
 modifying the content in some way as it goes to the obj directory?  If not,
 I would just add the content folder as a BindPath and let WiX do all the
 heavy lifting grabbing the content and including it into the MSI
 appropriately.

 On Thu, Sep 20, 2012 at 7:51 PM, Cristian Prieto 
 kement...@gmail.comjavascript:_e({}, 'cvml', 'kement...@gmail.com');
 wrote:

  So, in this moment my only options would be:
 
  1. Copy manually the bitmap files to the temporary directory where wix is
  compiling the msi file, probably in the BeforeBuild Target of the wixproj
  file.
 
  2. Modify the wxs or wxi file where the dialog specify the images and
 pass
  a $(var.artdirectory) property (as a DefineConstants) in the MSBuild
 file.
 
  ==
 
  3. (This is the ideal way but it will take time), Modify wix.targets,
 find
  the way where I could specify Content / and allow the option to copy
  those Content to the temporary compile directory (obj/longnamehere)... If
  this is not needed maybe it could be using another property like
  OtherFiles /
 
 
  Am I right or missing something?
 
 
  Cristian Prieto
 
 
  On Fri, Sep 21, 2012 at 1:21 AM, Rob Mensching 
  r...@robmensching.comjavascript:_e({}, 'cvml', 'r...@robmensching.com');
 
  wrote:
 
   Not sure Content items are supported by the wix.targets.
  
   On Wed, Sep 19, 2012 at 10:19 PM, Cristian Prieto 
   kement...@gmail.comjavascript:_e({}, 'cvml', 'kement...@gmail.com');
   wrote:
  
Hi Wix user list!
   
I've been trying to solve a very small issue with a manually created
  Wix
proj file and resource files...
   
My wixproj file (done without Visual Studio but by hand) looks like
  this:
   
?xml version=1.0 encoding=utf-8?
Project DefaultTargets=Build xmlns=
http://schemas.microsoft.com/developer/msbuild/2003;
  ToolsVersion=4.0
  PropertyGroup
   
   
   
  
 
 ParentDirectory$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))/ParentDirectory
ParentDirectory
   
   
  
 
 Condition=!HasTrailingSlash('$(ParentDirectory)')$(ParentDirectory)\/ParentDirectory
   
ArtDirectory Condition=$(ArtDirectory) ==
''$(ParentDirectory)art/ArtDirectory
ArtDirectory
   
   
  
 
 Condition=!HasTrailingSlash('$(ArtDirectory)')$(ArtDirectory)\/ArtDirectory
  /PropertyGroup
   
  Import Project=$(WixTargets) /
   
  !-- blah blah blah, common Wix properties  --
   
  !-- Art file is here --
  ItemGroup
Content Include=$(ArtDirectory)SetupSplash.bmp
  LinkSetupSplash.bmp/Link
/Content
  /ItemGroup
   
  ItemGroup
Compile Include=$(SourcePath)setup.wxs /
Compile Include=$(SourcePath)SetupDialogs.wxs /
  /ItemGroup
/Project
   
Ok, I just removed a few lines that were too verbose... but as you
 may
   see
it looks ok...
   
Now, The problem is with the art... my project structure looks like
  this:
   
src
 * setup (the wixproj is here)
 * art (banners and images are here)
   
So, in build time the art stuff should be copied to the temporary
 build
directory for the wix package, I know that I could use a copy task
  but
   I
want to void it.
   
I was expecting that using the Content tag the art bmp file would be
   copied
to the temporary wix build directory, but it is not... I already
 tried
   with
OtherFiles tag...
   
Is there any way to specify resource files like this without doing
 the
   Copy
task manually in MSBuild? am I missing something?
   
I know that I could solve all of this just creating the wixproj in
  Visual
Studio and linking manually the files, but I really wanted to avoid
 it
   (for
learning purposes).
   
   
Thanks for any help!
   
   
Cristian Prieto
   
   
  
 
 --
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net javascript:_e({}, 'cvml',
 'WiX-users@lists.sourceforge.net');
https://lists.sourceforge.net/lists/listinfo/wix-users
   
  
  
  
   --
   virtually,
  
  Rob Mensching
  http://RobMensching.com LLC
  
  
 
 --
   Everyone hates slow websites. So do we.
   Make your web apps faster with AppDynamics
   Download AppDynamics Lite for free today:
   

Re: [WiX-users] -----SPAM----- variables not working...

2012-09-21 Thread Neil Sleightholm
You seem to be mixing up pre-processor instructions and runtime, are you
trying to get the user domain and logon when you run the msi? If so you
can use [LogonUser] in your property (I am not sure if that includes the
domain though).

Neil


Hi all,

I have these two set:

  ?define LogonUserName = [%USERNAME]?
  ?define LogonDomainName = [%USERDOMAIN]?

Then this property:
Property Id=DATABASE_USERNAME Secure=yes
Value=$(var.LogonDomainName)\$(var.LogonUserName) /

but when I use it at runtime I see this:
[%USERDOMAIN]\[%USERNAME]

thanks,

Steve




--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-no
t-working-tp7580709.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://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Albert van Peppen
Hey Cristian.. Do you just installed a virus/Trojan or something? All the email 
addresses in your reply got some java script added to it!
Better check your system!
As for everybody else; be very carefull when replying to this mail!

Best regards,

Albert van Peppen
transmission of this e-mail or any attachments, nor responsible for any delay 
in receipt.

-Oorspronkelijk bericht-
Van: Cristian Prieto [mailto:kement...@gmail.com] 
Verzonden: 21 September 2012 08:53
Aan: General discussion for Windows Installer XML toolset.
Onderwerp: [WiX-users] Wix + MSBuild + content files

BindPaths was exactly what I was looking for...

Thanks

Cristian Prieto


On Fri, Sep 21, 2012 at 3:44 PM, Rob Mensching 
r...@robmensching.comjavascript:_e({}, 'cvml', 'r...@robmensching.com');
 wrote:

 Why do you want to copy your content to the obj directory? Are you 
 modifying the content in some way as it goes to the obj directory?  If 
 not, I would just add the content folder as a BindPath and let WiX do 
 all the heavy lifting grabbing the content and including it into the 
 MSI appropriately.

 On Thu, Sep 20, 2012 at 7:51 PM, Cristian Prieto 
 kement...@gmail.comjavascript:_e({}, 'cvml', 
 'kement...@gmail.com');
 wrote:

  So, in this moment my only options would be:
 
  1. Copy manually the bitmap files to the temporary directory where 
  wix is compiling the msi file, probably in the BeforeBuild Target of 
  the wixproj file.
 
  2. Modify the wxs or wxi file where the dialog specify the images 
  and
 pass
  a $(var.artdirectory) property (as a DefineConstants) in the MSBuild
 file.
 
  ==
 
  3. (This is the ideal way but it will take time), Modify 
  wix.targets,
 find
  the way where I could specify Content / and allow the option to 
  copy those Content to the temporary compile directory 
  (obj/longnamehere)... If this is not needed maybe it could be using 
  another property like OtherFiles /
 
 
  Am I right or missing something?
 
 
  Cristian Prieto
 
 
  On Fri, Sep 21, 2012 at 1:21 AM, Rob Mensching 
  r...@robmensching.comjavascript:_e({}, 'cvml', 
  'r...@robmensching.com');
 
  wrote:
 
   Not sure Content items are supported by the wix.targets.
  
   On Wed, Sep 19, 2012 at 10:19 PM, Cristian Prieto 
   kement...@gmail.comjavascript:_e({}, 'cvml', 
   'kement...@gmail.com');
   wrote:
  
Hi Wix user list!
   
I've been trying to solve a very small issue with a manually 
created
  Wix
proj file and resource files...
   
My wixproj file (done without Visual Studio but by hand) looks 
like
  this:
   
?xml version=1.0 encoding=utf-8? Project 
DefaultTargets=Build xmlns=
http://schemas.microsoft.com/developer/msbuild/2003;
  ToolsVersion=4.0
  PropertyGroup
   
   
   
  
 
 ParentDirectory$([System.IO.Directory]::GetParent('$(MSBuildProjectD
 irectory)'))/ParentDirectory
ParentDirectory
   
   
  
 
 Condition=!HasTrailingSlash('$(ParentDirectory)')$(ParentDirectory)
 \/ParentDirectory
   
ArtDirectory Condition=$(ArtDirectory) == 
''$(ParentDirectory)art/ArtDirectory
ArtDirectory
   
   
  
 
 Condition=!HasTrailingSlash('$(ArtDirectory)')$(ArtDirectory)\/Art
 Directory
  /PropertyGroup
   
  Import Project=$(WixTargets) /
   
  !-- blah blah blah, common Wix properties  --
   
  !-- Art file is here --
  ItemGroup
Content Include=$(ArtDirectory)SetupSplash.bmp
  LinkSetupSplash.bmp/Link
/Content
  /ItemGroup
   
  ItemGroup
Compile Include=$(SourcePath)setup.wxs /
Compile Include=$(SourcePath)SetupDialogs.wxs /
  /ItemGroup
/Project
   
Ok, I just removed a few lines that were too verbose... but as 
you
 may
   see
it looks ok...
   
Now, The problem is with the art... my project structure looks 
like
  this:
   
src
 * setup (the wixproj is here)
 * art (banners and images are here)
   
So, in build time the art stuff should be copied to the 
temporary
 build
directory for the wix package, I know that I could use a copy 
task
  but
   I
want to void it.
   
I was expecting that using the Content tag the art bmp file 
would be
   copied
to the temporary wix build directory, but it is not... I already
 tried
   with
OtherFiles tag...
   
Is there any way to specify resource files like this without 
doing
 the
   Copy
task manually in MSBuild? am I missing something?
   
I know that I could solve all of this just creating the wixproj 
in
  Visual
Studio and linking manually the files, but I really wanted to 
avoid
 it
   (for
learning purposes).
   
   
Thanks for any help!
   
   
Cristian Prieto
   
   
  
 
 --
 
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics 
Lite for free today:

Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-21 Thread Peter Shirtcliffe
Are you mixing up minor and major upgrades ?
Major upgrades use the upgrade table and replace the old product with the new
one. You don't specify REINSTALL or REINSTALLMODE on the command line. The
upgrade code should be the same and the product code  and version different.
Minor upgrades repair and update the existing installation using a new
version of the MSI. You do use REINSTALL and REINSTALLMODE but the upgrade
table is not used. The upgrade code should be the same and the product code
too: only the version differs.
The MajorUpgrade element is just a convenient shorthand for using the upgrade
table. You can leave it commented out for now.

-Original Message-
From: Alec [mailto:alecs...@gmail.com] 
Sent: 21 September 2012 04:30
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

I tried silently upgrading 19.0.1 on top of 18.3 with the following code
snippet:

Upgrade Id=E8805AF3-CF50-4092-BE57-220A8C51E2AA
  UpgradeVersion OnlyDetect=yes Minimum=19.0.1
IncludeMinimum=no Property=NEWERVERSIONDETECTED/  UpgradeVersion
OnlyDetect=no Maximum=19.0.1 IncludeMaximum=no
Minimum=18.0.0 IncludeMinimum=yes
Property=OLDERVERSIONBEINGUPGRADED/
/Upgrade

CustomActionRef Id=WixExitEarlyWithSuccess/

InstallExecuteSequence
  RemoveExistingProducts After=InstallInitialize/

  
  Custom Action='PrepareForInstall' After='InstallInitialize'NOT Installed
AND NOT UPGRADINGPRODUCTCODE/Custom
  Custom Action='SetJavawPath' Before='InstallServices'NOT
Installed/Custom
  Custom Action=Upgrader After=InstallHelperActionNOT
Installed/Custom /InstallExecuteSequence

The log file has the following entries:

Doing action: FindRelatedProducts
Action start 12:01:15: FindRelatedProducts.
PROPERTY CHANGE: Adding OLDERVERSIONBEINGUPGRADED property. Its value is
'{4B43BAEB-553B-4FAD-9219-C55DA3492D89}'.
Skipping action: WixExitEarlyWithSuccess (condition is false)
Doing action: AppSearch
FindRelatedProducts. Return value 1.
AppSearch.
...
Windows Installer installed the product. ... Product Version:
19.0.1. Product Language: 1033. .. Installation success or error
status: 0.

It looks like upgrade should have succeeded, but in reality 18.3 is there and
19.0.1 is not.

I noticed that we have MajorUpgrade element commented out (see above).
Should it be uncommented? (Sorry I don't work with WIX a whole lot).

Thanks,

Alec



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/UI-upgrade-succ
eeds-but-silent-upgrade-fails-tp7580671p7580716.html
Sent from the wix-users mailing list archive at Nabble.com.

-
-
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to create a website with HTTPS using WIX

2012-09-21 Thread Nageswara Rao

Hi Team, 

Could you please let me know how to create a website with HTTPS and below is
the code, what I am working 

util:User Id=AppPoolUser CreateUser=no Domain=DOMAIN
Name=[APPPOOLUSER] Password=[APPPOOLPWD] RemoveOnUninstall=yes/
  iis:WebAppPool Id=AppPoolId Name=AppPool
Identity=other User=AppPoolUser RecycleMinutes=600
ManagedPipelineMode=integrated/
   iis:WebSite Id=ID
Description=APP-IT1 AutoStart=yes Directory=INSTALLLOCATION
StartOnInstall=yes WebApplication=WebAppID
iis:WebAddress Id=Webadreess Port=8080 IP=*
Header=[HOSTNAME] Secure=yes/
   /iis:WebSite  

I was able to create a website with HTTPS from the above but when I try to
access it from IIS, it’s not accessible. I believe we should add SSL
certificate to website to make it run. Please let me know how we can create
that SSL Certificate from WIX and make website accessible with “HTTPS” 




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-a-website-with-HTTPS-using-WIX-tp7580728.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How does WiX bootstrapper determine UI language

2012-09-21 Thread Harald Dersch
Hello,
I created a bootstrapper with WiX that includes four different localizations 
(English, German, French, and Dutch). 

But I actually wonder, how the bootstrapper detects and determine the language 
to display the UI. When the bootstrapper runs on an English OS, it's in 
English. When run on a German OS, it's in German. However, it seems that it 
totally ignores all system regional settings, i.e. if I run it on an English 
OS, it's in English, no matter what I set in the system settings. Other that 
using -lang (which works for all four localizations), I do not get another 
language than the original OS one. 

Is this a bug? Is this behavior by design? It there any option/setting to 
influence this? Do I have to adapt WiX source code for this?

Thanks for any insights on this.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix Question related to closing process using util:CloseApplication

2012-09-21 Thread Chandrasekaran, Suman (GE Healthcare)
HI,

I am using Wix 3,6. I have an issue, while uninstalling the application
I want to close a process which is basically a system tray icon. When
the uninstallation process starts it pop's up a dialog asking the user
to close the application (The following application should be closed
before continuing the install). I don't want this dialog to appear but
instead do the closing automatically.

I tried the following, but no luck.

InstallExecuteSequence
   Custom Action=WixCloseApplications
Before=InstallInitializeInstalled/Custom
   Custom Action=StartMonitor
After=StartServicesNOT Installed/Custom
/InstallExecuteSequence
 
   util:CloseApplication Id=CloseMonitor Target=Monitor.exe
   CloseMessage=yes RebootPrompt=no
Installed
/util:CloseApplication
 

I want the wix to detect the applications and close them as part of
uninstallation process. No need of showing the dialog box prompt. Can
anyone please help me to implement it.

It works fine with it is installed from command prompt with /qn switch
but without /qn switch I get the dialog (The following application
should be closed before continuing the install). Can someone please
help me on how to fix this.

I was checking some forums and many pople had stated that
util:CloseApplication does not close the system tray icon processes.
Is it true?

 

Thanks in advance.

Sanam.

 

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix Question related to closing process using util:CloseApplication

2012-09-21 Thread Chandrasekaran, Suman (GE Healthcare)
HI,

I am using Wix 3,6. I have an issue, while uninstalling the application
I want to close a process which is basically a system tray icon. When
the uninstallation process starts it pop's up a dialog asking the user
to close the application (The following application should be closed
before continuing the install). I don't want this dialog to appear but
instead do the closing automatically.

I tried the following, but no luck.

InstallExecuteSequence
   Custom Action=WixCloseApplications
Before=InstallInitializeInstalled/Custom
   Custom Action=StartMonitor
After=StartServicesNOT Installed/Custom
/InstallExecuteSequence
 
   util:CloseApplication Id=CloseMonitor Target=Monitor.exe
   CloseMessage=yes RebootPrompt=no
Installed
/util:CloseApplication
 

I want the wix to detect the applications and close them as part of
uninstallation process. No need of showing the dialog box prompt. Can
anyone please help me to implement it.

It works fine with it is installed from command prompt with /qn switch
but without /qn switch I get the dialog (The following application
should be closed before continuing the install). Can someone please
help me on how to fix this.

I was checking some forums and many pople had stated that
util:CloseApplication does not close the system tray icon processes.
Is it true?

 

Thanks in advance.

 

 

 

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Passing overridable variables to bootstrapper from file

2012-09-21 Thread Salonkangas, Janne (GE Healthcare)
Hi,

 

With just MSI files you could pass property values from command line and
also from a file. We have moved to use burn and instead of properties we
pass variables when running the exe file. Is there a possibility to pass
the variables from a file? This kind of functionality is needed for
silent installation with custom configuration.

 

Thanks in advance,

 

Janne Salonkangas

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Populate a list box from a custom action

2012-09-21 Thread Natalie Carr
Thanks Christopher, I had a look bur my function still is not working. Does
anyone know if there is any documentation on the WcaAddTempRecord because
I'm not even sure on the attributes or that. At the minute I have:

hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 4,
LCOMPORT, 1, buffer, insertError);

-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com] 
Sent: 20 September 2012 15:16
To: General discussion for Windows Installer XML toolset.; General
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Populate a list box from a custom action

I have an example in C# using DTF at:

http://blog.iswix.com/2008/05/how-dtf-is-going-to-help-me-become.html

http://stackoverflow.com/questions/12492769/wix-remove-old-program-folder-be
fore-install

I know your using C++ so you'll have to look at what the underlying function
is for each class/method in DTF and then see what tricks WiX 
provides for creating records and what not.   Then of course there's all 
the wonderful casting you have to do in C++.

Eitherway, maybe it'll just validate the general flow and help you catch
something thats missing. (like 3 vs 4 fields)


 From: Peter Shirtcliffe pshirtcli...@sdl.com
Sent: Thursday, September 20, 2012 5:55 AM
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Populate a list box from a custom action

Your call to wcaaddtemprecord looks ok. The only thing I can guess at is
that you need to specify all 4 columns of the ListBox table, rather than
just the
3 you have.
The other difference from my code is that I also have MSIDBERROR insertError
= MSIDBERROR_NOERROR; And I give insertError as the 4th argument.

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: 20 September 2012 10:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Populate a list box from a custom action

Hi I have a Custom Action in C++ that gets the Com ports of a machine and I
need to get these into a listbox in my staller. I have the following but it
is the wcaAddTempRecord is not working and I cannot find any good
documentation on this. Thanks

extern C UINT __stdcall GetDatascanPort(MSIHANDLE hInstall)

{

AssertSz(FALSE, debug here);

DebugBreak();

HRESULT hr = S_OK;

UINT er = ERROR_SUCCESS;

HKEY keyHandle;

DWORD i,openStatus,cb_value_buffer,cb_buffer,dwType;

char value_buffer[100],buffer[10];

MSIHANDLE hTable = NULL;

MSIHANDLE hColumns = NULL;

hr = WcaInitialize(hInstall, GetDatascanPort);

ExitOnFailure(hr, Failed to initialize);

WcaLog(LOGMSG_STANDARD, Initialized.);

if (RegCreateKeyEx( HKEY_LOCAL_MACHINE,

HARDWARE\\DEVICEMAP\\SERIALCOMM,

0,

,

REG_OPTION_NON_VOLATILE,

KEY_QUERY_VALUE,

default_sa(),

keyHandle,

openStatus ) == ERROR_SUCCESS )

{

for (i=0;;i++)

{

cb_value_buffer = sizeof(value_buffer);

cb_buffer = sizeof(buffer);

if (RegEnumValue(keyHandle, i, value_buffer,

cb_value_buffer,

NULL,

dwType,

(unsigned char *) buffer,

cb_buffer) !=
ERROR_SUCCESS)

break;

if (dwType != REG_SZ || strlen(buffer)  6)

continue;

}

hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 3,
LCOMPORT, 1, LItem 1);

RegCloseKey(keyHandle);

if (hTable)

MsiCloseHandle(hTable);

if (hColumns)

MsiCloseHandle(hColumns);

return WcaFinalize(hr);

}

LExit:

er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE;

return WcaFinalize(er);

}

My list box is, it has a sample list item:

Control Type=ListBox Property=COMPORT Id=Comport Width=80
Height=40 X=80 Y=165

ListBox Property=COMPORT

ListItem Text=COM 3 Value=0/

/ListBox

Kind Regards,

Natalie Carr


-
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free
today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales. 
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing 

[WiX-users] Simple UI with license agreement

2012-09-21 Thread Branko Horvat
Hello,

I would like to have a simple UI comprising Hello, EULA, and completion.
Using UICommon is ok, but can't  include the license agreement.
Using UIInstallDir and UIFeatureTree have license but
Can't exlude dir or custom dialogue.

Do you have any hint how to proceed?

Regards,
Branko


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] What is a rollback boundary?

2012-09-21 Thread Nick Ramirez
Reading through the source code and just doing some experimentation helped me
figure it out. But in case anyone else is looking for a practical
definition:

Error during MSI 3 here means rollback to the last boundary. Uninstall MSI 2
and 3, but keep 1 since it was before the boundary:
Chain
   MsiPackage ... /
*RollbackBoundary /*
MsiPackage ... /
   MsiPackage ... / 
/Chain

If boundary is not vital, we will continue on at the next boundary. If
error hit during MSI 2, rollback MSI 2, but since it's not vital, continue
on at the next boundary, installing MSI 3. In the end, we keep MSI 1 and 3,
essentially skipping MSI 2:
Chain
MsiPackage ... /
*RollbackBoundary Vital=no /*
MsiPackage ... /
*RollbackBoundary /*
MsiPackage ... / 
/Chain



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-is-a-rollback-boundary-tp7579098p7580735.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Populate a list box from a custom action

2012-09-21 Thread Peter Shirtcliffe
A production example

MSIDBERROR insertError = MSIDBERROR_NOERROR;  //
Value is not changed on success.
MSIHANDLE registryView = NULL;
MSIHANDLE registryColumns = NULL;
hr = WcaAddTempRecord(registryView, registryColumns,
// Out parameters.
  LRegistry,
// Table name. 
  insertError,
// Store any insert error in this variable.
  1,
// The column number of the key we want uniquified.
  6,
// The number of columns we're adding.   Column values follow. 
  LEncodedValue, //
Primary key.
  msidbRegistryRootLocalMachine,
// Root
  (LSOFTWARE\\SDL\\Studio2\\Tracking\\ + GUIDString).c_str(), //
Key
  NULL,
// Name
  binaryString.str().c_str(),
// Value
  COMPONENT_NAME.c_str()
// Component_. Foreign key into the Component table. We use user defined
component with predetermined name.
);

if (registryView != NULL)
MsiCloseHandle(registryView);
if (registryColumns != NULL)
MsiCloseHandle(registryColumns);

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com] 
Sent: 21 September 2012 14:18
To: chr...@iswix.com; 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Populate a list box from a custom action

Thanks Christopher, I had a look bur my function still is not working. Does
anyone know if there is any documentation on the WcaAddTempRecord because I'm
not even sure on the attributes or that. At the minute I have:

hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 4,
LCOMPORT, 1, buffer, insertError);

-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com]
Sent: 20 September 2012 15:16
To: General discussion for Windows Installer XML toolset.; General discussion
for Windows Installer XML toolset.
Subject: Re: [WiX-users] Populate a list box from a custom action

I have an example in C# using DTF at:

http://blog.iswix.com/2008/05/how-dtf-is-going-to-help-me-become.html

http://stackoverflow.com/questions/12492769/wix-remove-old-program-folder-be
fore-install

I know your using C++ so you'll have to look at what the underlying function
is for each class/method in DTF and then see what tricks WiX 
provides for creating records and what not.   Then of course there's all 
the wonderful casting you have to do in C++.

Eitherway, maybe it'll just validate the general flow and help you catch
something thats missing. (like 3 vs 4 fields)


 From: Peter Shirtcliffe pshirtcli...@sdl.com
Sent: Thursday, September 20, 2012 5:55 AM
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Populate a list box from a custom action

Your call to wcaaddtemprecord looks ok. The only thing I can guess at is that
you need to specify all 4 columns of the ListBox table, rather than just the
3 you have.
The other difference from my code is that I also have MSIDBERROR insertError
= MSIDBERROR_NOERROR; And I give insertError as the 4th argument.

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: 20 September 2012 10:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Populate a list box from a custom action

Hi I have a Custom Action in C++ that gets the Com ports of a machine and I
need to get these into a listbox in my staller. I have the following but it
is the wcaAddTempRecord is not working and I cannot find any good
documentation on this. Thanks

extern C UINT __stdcall GetDatascanPort(MSIHANDLE hInstall)

{

AssertSz(FALSE, debug here);

DebugBreak();

HRESULT hr = S_OK;

UINT er = ERROR_SUCCESS;

HKEY keyHandle;

DWORD i,openStatus,cb_value_buffer,cb_buffer,dwType;

char value_buffer[100],buffer[10];

MSIHANDLE hTable = NULL;

MSIHANDLE hColumns = NULL;

hr = WcaInitialize(hInstall, GetDatascanPort);

ExitOnFailure(hr, Failed to initialize);

WcaLog(LOGMSG_STANDARD, Initialized.);

if (RegCreateKeyEx( HKEY_LOCAL_MACHINE,

HARDWARE\\DEVICEMAP\\SERIALCOMM,

0,

,

REG_OPTION_NON_VOLATILE,

KEY_QUERY_VALUE,

default_sa(),

keyHandle,

openStatus ) == ERROR_SUCCESS )

{

for (i=0;;i++)

{

cb_value_buffer = sizeof(value_buffer);

cb_buffer = sizeof(buffer);

if (RegEnumValue(keyHandle, i, value_buffer,

cb_value_buffer,

NULL,

dwType,

(unsigned char *) buffer,

cb_buffer) !=
ERROR_SUCCESS)

break;

if (dwType != REG_SZ || strlen(buffer)  6)

continue;

}

hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 3, LCOMPORT,
1, LItem 1);

RegCloseKey(keyHandle);

if (hTable)

MsiCloseHandle(hTable);

if (hColumns)

MsiCloseHandle(hColumns);

return WcaFinalize(hr);

}

LExit:

er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE;

return WcaFinalize(er);

}

My list box is, it has a sample list item:

Control Type=ListBox Property=COMPORT 

Re: [WiX-users] variables not working...

2012-09-21 Thread Steven Ogilvie
Using the env. Variable retrieves it from my local environment at build time... 
so if someone else runs the install on another machine they see my domain\my 
user logon :)

Which won't work

Thanks,

Steve

-Original Message-
From: MikeGa [mailto:mjgalla...@comcast.net] 
Sent: September-20-12 11:59 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] variables not working...

StevenOgilvie wrote
 I have these two set:
 
   ?define LogonUserName = [%USERNAME]?
   ?define LogonDomainName = [%USERDOMAIN]?
 
 Then this property:
 Property Id=DATABASE_USERNAME Secure=yes
 Value=$(var.LogonDomainName)\$(var.LogonUserName) / but when I use 
 it at runtime I see this:
 [%USERDOMAIN]\[%USERNAME]

Have you tried defining the variables this way:

?define LogonUserName=$(env.USERNAME)? ?define 
LogonDomainName=$(env.USERDOMAIN)?

I think you could even combine them and make one variable that you could
use:

?define LogonAccount=$(env.USERDOMAIN)\$(env.USERNAME)?
 
Property Id=DATABASE_USERNAME Secure=yes Value=$(var.LogonAccount) / 




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580717.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Gregory Beaty
Any answer to this?

Greg Beaty
greg.bea...@gmail.com


On Tue, Sep 18, 2012 at 1:00 PM, Neil Sleightholm n...@x2systems.comwrote:

 This is what I tried, in OnDetectRelatedBundle() save the operation. In
 OnPlanRelatedBundle() if the saved operation ==
 BOOTSTRAPPER_RELATED_OPERATION_NONE (which from previous emails I believe
 indicates that the version matches) then set *pRequestedState =
 BOOTSTRAPPER_REQUEST_STATE_ABSENT.

 This didn't work and caused the setup to go into an infinite loop
 launching itself again and again.

 Does my code look correct?

 Neil

 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: 17 September 2012 18:39
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Bootstrapper Upgrade Detection

 You should be able to request ABSENT for the OnPlanRelatedBundle() of the
 bundle that has the same version. The default is NONE so it stays.

 On Mon, Sep 17, 2012 at 10:03 AM, Neil Sleightholm n...@x2systems.com
 wrote:

   The BootstrapperApplication can override the default logic to do
  whichever you want. However, the wixstdba does not, so you get the
  default behavior of the engine.
 
  If you have time I'd be interested to know how, I have looked at this
  and as far as I can tell it is baked in to the Engine and I couldn't
  find any way to override it.
 
  Neil
 
  -Original Message-
  From: Rob Mensching [mailto:r...@robmensching.com]
  Sent: 17 September 2012 17:28
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
 
  The default upgrade logic in the Burn engine does not block and does
  not upgrade bundles with the same version. That is pretty arguably
  wrong (and is the bug Neil is referring to). smile/
 
  The BootstrapperApplication can override the default logic to do
  whichever you want. However, the wixstdba does not, so you get the
  default behavior of the engine.
  Most likely, if you continue to rebuild the Bundle but keep the
  version the same, you have multiple bundles registered on your
  machine. Go to ProgramsFeatures (aka: ARP) and remove them all.
  Package reference counting with all those Bundles still installed will
  likely be very confusing. smile/
 
 
 
 
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond.
  Discussions will include endpoint security, mobile security and the
  latest in malware threats.
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 



 --
 virtually,

Rob Mensching
http://RobMensching.com LLC

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and threat
 landscape has changed and how IT managers can respond. Discussions will
 include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread MikeGa
Steven Ogilvie wrote
 Using the env. Variable retrieves it from my local environment at build
 time... so if someone else runs the install on another machine they see my
 domain\my user logon :)
 
 Which won't work

Well, that was a doh moment *lol* Sorry about that.

The CA method posted earlier would work or you could use SetProperty which
creates the type 51 CA for you. Something like this would do it:

SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME]
Before=InstallInitialize Sequence=execute  /



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580739.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Assigning WebApplication to non-existent WebAppPool doesn't fail installation, although should

2012-09-21 Thread Boyko, Ivan
Dear All

I use the following code to create a WebApplication in IIS and assign it to a 
specific Application Pool.

iis:WebAppPool Id=AppPool_Wcf Name=$(var.WCF_APP_POOL) /

iis:WebSite Id=Web_site Description=$(var.WEB_SITE_DESCRIPTION) 
SiteId=[SITEID]
iis:WebAddress Id=Web_Address Port=*/
/iis:WebSite

DirectoryRef Id=TARGETDIR
Directory Id=SITEPATH
Directory Id=WCF_VIRT_DIR 
Name=$(var.WCF_VIRT_DIR)
Component Id=IIS_Wcf 
Guid=$(var.deploy.wcf.guid) KeyPath=yes

iis:WebVirtualDir Id=Wcf_VirtualDir Alias=$(var.WCF_VIRT_DIR) 
WebSite=Web_site Directory=WCF_VIRT_DIR

iis:WebApplication Id=Wcf_Application Name=$(var.WCF_VIRT_DIR) 
WebAppPool=AppPool_Wcf /

/iis:WebVirtualDir
/Component
/Directory
/Directory
/DirectoryRef


App Pool should already exist, as it's shared with some other applications.
If it doesn't exist, setup succeeds, assigning Web Application to a mysterious 
Invalid Application Pool (can be seen in web app Properties).
The application even works!
How can I make installation fail if App Pool is not found?

Regards,
Ivan Boyko
Software Build Manager
UK, Staines, Riverside House, Ground Floor, North.
Phone: +44 1753 488-108
- Need help from SCM team? Raise a 
trackerblocked::http://s280r2:8011/mwiki/index.php/How_To_Raise_a_Tracker

_
The information contained in or attached to this email is intended only for the 
use of the individual or entity to which it is addressed. If you are not the 
intended recipient, or a person responsible for delivering it to the intended 
recipient, you are not authorised to and must not disclose, copy, distribute, 
or retain this message or any part of it. It may contain information which is 
confidential and/or covered by legal professional or other privilege (or other 
rules or laws with similar effect in jurisdictions outside England and Wales).

The views expressed in this email are not necessarily the views of Centrica 
plc, and the company, its directors, officers or employees make no 
representation or accept any liability for its accuracy or completeness unless 
expressly stated to the contrary.

British Gas Trading Limited (company no: 03078711) British Gas Services Limited 
(company no: 3141243) and Centrica Energy (Trading) Limited (company no: 
02877397), are all wholly owned subsidiaries of Centrica PLC (company no: 
3033654).  Each company is registered in England and Wales with a registered 
office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.

British Gas Services Limited (BGS) and Centrica Energy (Trading) Limited are 
both authorised and regulated by the Financial Services Authority (FSA 
registration numbers are 490568 and 232514, respectively). BGS is authorised 
and regulated by the FSA for insurance mediation services.  British Gas Trading 
Limited is an appointed representative of BGS for insurance mediation services 
(FSA registration number: 439467).
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Henning Krause
Hi,

I'm working on an installer which creates a virtual directory in IIS. The 
installer has a managed bootstrapper application (Burn) and lets the user 
select the website to which install the virtual application to.

For the selection process, I enumerate all installed websites on the local IIS 
using the Managed API for IIS. However, it seems that even reading the current 
IIS configuration required elevation. So it would seem the entire Bootstrapper 
has to be elevated, which has some smell IMHO.

What is the best practice in this scenario?

Kind regards,
Henning Krause


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to add a .aspx to Error Pages under a website

2012-09-21 Thread Nageswara Rao
Hi Team,I have devolped one customErros.aspx page and now would like to add
this page to Error Pages of a website in IIS using WIX*Note: Please find
the attached attachment*
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7580742/Error_Page_of_a_website.jpg
 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-add-a-aspx-to-Error-Pages-under-a-website-tp7580742.html
Sent from the wix-users mailing list archive at Nabble.com.
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Cristian Prieto
Thanks for the info Albert, I just checked the source from the email and
looks like a js script attached to Rob signature... It looks like a
trackiing script by a company named appdynamics or something...



Cristian Prieto


On Fri, Sep 21, 2012 at 6:05 PM, Albert van Peppen alb...@insad.nl wrote:

 Hey Cristian.. Do you just installed a virus/Trojan or something? All the
 email addresses in your reply got some java script added to it!
 Better check your system!
 As for everybody else; be very carefull when replying to this mail!

 Best regards,

 Albert van Peppen
 transmission of this e-mail or any attachments, nor responsible for any
 delay in receipt.


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] -----SPAM----- variables not working...

2012-09-21 Thread StevenOgilvie
Sigh, now I am getting nothing...

I have tried:


SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME]
Before=InstallInitialize Sequence=execute  /

where LogonDomainName is:
 ?define LogonDomainName = [%USERDOMAIN]?

how hard can it be to get a system variable at runtime?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580744.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create a website with HTTPS using WIX

2012-09-21 Thread John Cooper
Well if you're creating a website versus using an existing one, then pretty 
much all of your IIS authoring needs to be in components.  That's a pretty 
unusual pattern in practice.  Usually, my app pool, virtual directory, and web 
applications authoring is in components but I use the website elements only to 
identify an existing website.

In any case, I'm not seeing any components at all in your sample which would 
create a host of issues.

--
John Merryweather Cooper
Build  Install Engineer – ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 



-Original Message-
From: Nageswara Rao [mailto:nagmittapa...@gmail.com] 
Sent: Friday, September 21, 2012 5:24 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to create a website with HTTPS using WIX


Hi Team, 

Could you please let me know how to create a website with HTTPS and below is 
the code, what I am working 

util:User Id=AppPoolUser CreateUser=no Domain=DOMAIN
Name=[APPPOOLUSER] Password=[APPPOOLPWD] RemoveOnUninstall=yes/
  iis:WebAppPool Id=AppPoolId Name=AppPool
Identity=other User=AppPoolUser RecycleMinutes=600
ManagedPipelineMode=integrated/
   iis:WebSite Id=ID
Description=APP-IT1 AutoStart=yes Directory=INSTALLLOCATION
StartOnInstall=yes WebApplication=WebAppID
iis:WebAddress Id=Webadreess Port=8080 IP=*
Header=[HOSTNAME] Secure=yes/
   /iis:WebSite  

I was able to create a website with HTTPS from the above but when I try to 
access it from IIS, it’s not accessible. I believe we should add SSL 
certificate to website to make it run. Please let me know how we can create 
that SSL Certificate from WIX and make website accessible with “HTTPS” 




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-a-website-with-HTTPS-using-WIX-tp7580728.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Customize UI Sequence

2012-09-21 Thread Tarquin Vaughan-Scott
Hi All

 

I'm trying to customize the sequence of the UI by removing the license
dialog.

 

I tried to follow the instructions here:
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html but
keep on getting compile errors that there are duplicate ids. 

 

I based my custom .wxs file on WixUI_Minimal.wxs.

 

Here are some examples of the errors I am seeing:

 

Error  1366   Location of symbol related to previous error.
E:\delivery\Dev\wix36_public\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs
56   1  

Error  1367   Duplicate symbol 'Property:WixUI_Mode' found. This
typically means that an Id is duplicated. Check to make sure all your
identifiers of a given type (File, Component, Feature) are unique.
C:\Projects\..\WixUI_Product.wxs33   1  

 

I have no idea why there is a clash of ids with the file I used as a
template i.e. WixUI_Minimal.wxs?? 

 

I have definitely changed the Id of my UI element

 

 

Fragment

UI Id=WixUI_Appname.

 

 

Any help appreciated.

 

Thanks

 

TRex

 

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] -----SPAM----- variables not working...

2012-09-21 Thread Hoover, Jacob
Hmm, have you checked the verbose log on this?  I wouldn't expect these 
variables to exist if this is happening after the MSI elevates (as that process 
is running as system). You need to gather the attributes in user mode and pass 
them to the elevated process via a property.

From several examples I have seen (Ex:  
http://stackoverflow.com/questions/3459998/get-an-environment-variable-into-a-wix-property),
 the syntax is correct [%ENVVARNAME] for getting environment variables at 
runtime. 

Also, can you attempt this without the ?define ... as a test case? (Or you 
could just use Orca or InstEdit to view the output after a build.)  Your 
previous comment was confusing as you weren't using the define in the 
SetProperty custom action, but you were still referring to it.

-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: Friday, September 21, 2012 10:37 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] -SPAM- variables not working...

Sigh, now I am getting nothing...

I have tried:


SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME]
Before=InstallInitialize Sequence=execute  /

where LogonDomainName is:
 ?define LogonDomainName = [%USERDOMAIN]?

how hard can it be to get a system variable at runtime?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580744.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread John Cooper
%Id is used to probe environment variables.  So your instinct about scripts was 
near the mark.

--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 




-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com] 
Sent: Thursday, September 20, 2012 7:17 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] variables not working...

That %VariableName syntax, I'm not familiar with that in WiX. It reminds me of 
parameter values in a Windows shell script? Are you wanting to collect the 
domain\username from the person who launches the installer? If that's the case, 
if you wanted them to pass that in on the command line, you could use the 
syntax:

msiexec /i myInstaller.msi DATABASE_USERNAME=thisdomain\Fred. 

I don't /think/ it will complain about using a backslash in the value. You 
would not need to declare the DATABASE_USERNAME in your WiX markup. Or add a UI 
to the installer where the user can enter in that info via a text box control. 
Or are you wanting to do something different?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580712.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create a website with HTTPS using WIX

2012-09-21 Thread Nick Ramirez
When I'd created a new website in IIS and wanted to bind a certificate to the
IP address, I didn't find a WiX element that would do it. At the time, I
used a shell script to do this binding, using netsh. I ran the shell script
as a custom action. This probably isn't the most robust way to do it. So I
am eager to hear alternatives.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-a-website-with-HTTPS-using-WIX-tp7580728p7580749.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread Nick Ramirez
Could you use a custom action to get the environment variables at install
time? In managed code:

System.Environment.GetEnvironmentVariable(String name)

I'm not sure if there's a declarative way of doing this in WiX.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580750.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread Neil Sleightholm
Did you try my suggestion of LogonUser?
SetProperty Id=DATABASE_USERNAME Value=[LogonUser] 
Before=InstallInitialize Sequence=execute /

The problem is that this will only return the name and not the domain so you 
might have to resort to a custom action.

I don't think reading the environment variables will work as the MSI is in the 
context of the msiexec service not the user that is logged on.

Neil

-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: 21 September 2012 16:37
To: wix-users@lists.sourceforge.net
Subject: -SPAM- Re: [WiX-users] -SPAM- variables not working...

Sigh, now I am getting nothing...

I have tried:


SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME]
Before=InstallInitialize Sequence=execute  /

where LogonDomainName is:
 ?define LogonDomainName = [%USERDOMAIN]?

how hard can it be to get a system variable at runtime?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580744.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How does WiX bootstrapper determine UI language

2012-09-21 Thread Rob Mensching
It probes like this:

Root of BA\ + GetUserDefaultUILanguage()
Root of BA\ + GetSystemDefaultUILanguage()
Root of BA\

On Fri, Sep 21, 2012 at 4:10 AM, Harald Dersch harald.der...@vasco.comwrote:

 Hello,
 I created a bootstrapper with WiX that includes four different
 localizations (English, German, French, and Dutch).

 But I actually wonder, how the bootstrapper detects and determine the
 language to display the UI. When the bootstrapper runs on an English OS,
 it's in English. When run on a German OS, it's in German. However, it seems
 that it totally ignores all system regional settings, i.e. if I run it on
 an English OS, it's in English, no matter what I set in the system
 settings. Other that using -lang (which works for all four localizations),
 I do not get another language than the original OS one.

 Is this a bug? Is this behavior by design? It there any option/setting to
 influence this? Do I have to adapt WiX source code for this?

 Thanks for any insights on this.


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Passing overridable variables to bootstrapper from file

2012-09-21 Thread Rob Mensching
The BA gets the command-line and can pass that on to variables if it
desires. The wixstdba does this if you mark the variables to allow to be
set from the command-lne.

On Fri, Sep 21, 2012 at 5:45 AM, Salonkangas, Janne (GE Healthcare) 
janne.salonkan...@ge.com wrote:

 Hi,



 With just MSI files you could pass property values from command line and
 also from a file. We have moved to use burn and instead of properties we
 pass variables when running the exe file. Is there a possibility to pass
 the variables from a file? This kind of functionality is needed for
 silent installation with custom configuration.



 Thanks in advance,



 Janne Salonkangas


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Rob Mensching
You'd have to spin of a separate process that can elevate. We've talked
about adding somethig like this to Burn for IIS because they made a huge
API blunder and required read operations to be elevated. sigh/

Of course, that thing hasn't been implemented yet. Maybe you'd like to
contribute it?

On Fri, Sep 21, 2012 at 8:06 AM, Henning Krause m...@henningkrause.euwrote:

 Hi,

 I'm working on an installer which creates a virtual directory in IIS. The
 installer has a managed bootstrapper application (Burn) and lets the user
 select the website to which install the virtual application to.

 For the selection process, I enumerate all installed websites on the local
 IIS using the Managed API for IIS. However, it seems that even reading the
 current IIS configuration required elevation. So it would seem the entire
 Bootstrapper has to be elevated, which has some smell IMHO.

 What is the best practice in this scenario?

 Kind regards,
 Henning Krause



 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Rob Mensching
Heh, heh, yeah, you'll go into an infinite loop if the two equal bundles
keep upgrading each other. I bet you ended up with thousands of burn
processes running trying to upgrade each other. Heh.

You probably need to throw in the relationType provided from the Command
line to make sure you don't start another upgrade when you are doing an
upgrade.

On Fri, Sep 21, 2012 at 7:23 AM, Gregory Beaty greg.bea...@gmail.comwrote:

 Any answer to this?

 Greg Beaty
 greg.bea...@gmail.com


 On Tue, Sep 18, 2012 at 1:00 PM, Neil Sleightholm n...@x2systems.com
 wrote:

  This is what I tried, in OnDetectRelatedBundle() save the operation. In
  OnPlanRelatedBundle() if the saved operation ==
  BOOTSTRAPPER_RELATED_OPERATION_NONE (which from previous emails I believe
  indicates that the version matches) then set *pRequestedState =
  BOOTSTRAPPER_REQUEST_STATE_ABSENT.
 
  This didn't work and caused the setup to go into an infinite loop
  launching itself again and again.
 
  Does my code look correct?
 
  Neil
 
  -Original Message-
  From: Rob Mensching [mailto:r...@robmensching.com]
  Sent: 17 September 2012 18:39
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
 
  You should be able to request ABSENT for the OnPlanRelatedBundle() of the
  bundle that has the same version. The default is NONE so it stays.
 
  On Mon, Sep 17, 2012 at 10:03 AM, Neil Sleightholm n...@x2systems.com
  wrote:
 
The BootstrapperApplication can override the default logic to do
   whichever you want. However, the wixstdba does not, so you get the
   default behavior of the engine.
  
   If you have time I'd be interested to know how, I have looked at this
   and as far as I can tell it is baked in to the Engine and I couldn't
   find any way to override it.
  
   Neil
  
   -Original Message-
   From: Rob Mensching [mailto:r...@robmensching.com]
   Sent: 17 September 2012 17:28
   To: General discussion for Windows Installer XML toolset.
   Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
  
   The default upgrade logic in the Burn engine does not block and does
   not upgrade bundles with the same version. That is pretty arguably
   wrong (and is the bug Neil is referring to). smile/
  
   The BootstrapperApplication can override the default logic to do
   whichever you want. However, the wixstdba does not, so you get the
   default behavior of the engine.
   Most likely, if you continue to rebuild the Bundle but keep the
   version the same, you have multiple bundles registered on your
   machine. Go to ProgramsFeatures (aka: ARP) and remove them all.
   Package reference counting with all those Bundles still installed will
   likely be very confusing. smile/
  
  
  
  
   --
   
   Live Security Virtual Conference
   Exclusive live event will cover all the ways today's security and
   threat landscape has changed and how IT managers can respond.
   Discussions will include endpoint security, mobile security and the
   latest in malware threats.
   http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
 
 
 
  --
  virtually,
 
 Rob Mensching
 http://RobMensching.com LLC
 
 
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and threat
  landscape has changed and how IT managers can respond. Discussions will
  include endpoint security, mobile security and the latest in malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond. Discussions
  will include endpoint security, mobile security and the latest in malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 

 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users 

Re: [WiX-users] Wix Question related to closing process using util:CloseApplication

2012-09-21 Thread Rob Mensching
CloseApplication sends a close message to the process in question. That's
basically it.

On Fri, Sep 21, 2012 at 5:17 AM, Chandrasekaran, Suman (GE Healthcare) 
suman.chandraseka...@ge.com wrote:

 HI,

 I am using Wix 3,6. I have an issue, while uninstalling the application
 I want to close a process which is basically a system tray icon. When
 the uninstallation process starts it pop's up a dialog asking the user
 to close the application (The following application should be closed
 before continuing the install). I don't want this dialog to appear but
 instead do the closing automatically.

 I tried the following, but no luck.

 InstallExecuteSequence
Custom Action=WixCloseApplications
 Before=InstallInitializeInstalled/Custom
Custom Action=StartMonitor
 After=StartServicesNOT Installed/Custom
 /InstallExecuteSequence

util:CloseApplication Id=CloseMonitor Target=Monitor.exe
CloseMessage=yes RebootPrompt=no
 Installed
 /util:CloseApplication


 I want the wix to detect the applications and close them as part of
 uninstallation process. No need of showing the dialog box prompt. Can
 anyone please help me to implement it.

 It works fine with it is installed from command prompt with /qn switch
 but without /qn switch I get the dialog (The following application
 should be closed before continuing the install). Can someone please
 help me on how to fix this.

 I was checking some forums and many pople had stated that
 util:CloseApplication does not close the system tray icon processes.
 Is it true?



 Thanks in advance.








 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread Hoover, Jacob
  Change Sequence to ui,  and then in the install execute sequence, you will 
probably want to abort if the property isn't assigned.  This means users double 
clicking the MSI would get the value assigned from the install ui sequence, but 
automated deployments or quiet/silent installs would be forced to pass the 
domain\username as a property on the command line. 

  I assume this is a per machine MSI not a per user MSI.

  If you need to get more extravagant, then you would be looking at passing 
UserSID to a CA and decoding the account info.

string userSid = session.CustomActionData[UserSID];
SecurityIdentifier sid = new SecurityIdentifier(userSid);
NTAccount ntAccount = 
(NTAccount)sid.Translate(typeof(NTAccount));
string username = ntAccount.ToString();

or you could look at some existing projects like http://msiext.codeplex.com/


-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Friday, September 21, 2012 12:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] variables not working...

Did you try my suggestion of LogonUser?
SetProperty Id=DATABASE_USERNAME Value=[LogonUser] 
Before=InstallInitialize Sequence=execute /

The problem is that this will only return the name and not the domain so you 
might have to resort to a custom action.

I don't think reading the environment variables will work as the MSI is in the 
context of the msiexec service not the user that is logged on.

Neil

-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: 21 September 2012 16:37
To: wix-users@lists.sourceforge.net
Subject: -SPAM- Re: [WiX-users] -SPAM- variables not working...

Sigh, now I am getting nothing...

I have tried:


SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME]
Before=InstallInitialize Sequence=execute  /

where LogonDomainName is:
 ?define LogonDomainName = [%USERDOMAIN]?

how hard can it be to get a system variable at runtime?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580744.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Neil Sleightholm
So only set *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT if 
BOOTSTRAPPER_RELATION_NONE == relationType ?

Neil

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 21 September 2012 18:23
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Bootstrapper Upgrade Detection

Heh, heh, yeah, you'll go into an infinite loop if the two equal bundles keep 
upgrading each other. I bet you ended up with thousands of burn processes 
running trying to upgrade each other. Heh.

You probably need to throw in the relationType provided from the Command line 
to make sure you don't start another upgrade when you are doing an upgrade.

On Fri, Sep 21, 2012 at 7:23 AM, Gregory Beaty greg.bea...@gmail.comwrote:

 Any answer to this?

 Greg Beaty
 greg.bea...@gmail.com


 On Tue, Sep 18, 2012 at 1:00 PM, Neil Sleightholm n...@x2systems.com
 wrote:

  This is what I tried, in OnDetectRelatedBundle() save the 
  operation. In
  OnPlanRelatedBundle() if the saved operation == 
  BOOTSTRAPPER_RELATED_OPERATION_NONE (which from previous emails I 
  believe indicates that the version matches) then set 
  *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT.
 
  This didn't work and caused the setup to go into an infinite loop 
  launching itself again and again.
 
  Does my code look correct?
 
  Neil
 
  -Original Message-
  From: Rob Mensching [mailto:r...@robmensching.com]
  Sent: 17 September 2012 18:39
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
 
  You should be able to request ABSENT for the OnPlanRelatedBundle() 
  of the bundle that has the same version. The default is NONE so it stays.
 
  On Mon, Sep 17, 2012 at 10:03 AM, Neil Sleightholm 
  n...@x2systems.com
  wrote:
 
The BootstrapperApplication can override the default logic to 
do
   whichever you want. However, the wixstdba does not, so you get the 
   default behavior of the engine.
  
   If you have time I'd be interested to know how, I have looked at 
   this and as far as I can tell it is baked in to the Engine and I 
   couldn't find any way to override it.
  
   Neil
  
   -Original Message-
   From: Rob Mensching [mailto:r...@robmensching.com]
   Sent: 17 September 2012 17:28
   To: General discussion for Windows Installer XML toolset.
   Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
  
   The default upgrade logic in the Burn engine does not block and 
   does not upgrade bundles with the same version. That is pretty 
   arguably wrong (and is the bug Neil is referring to). smile/
  
   The BootstrapperApplication can override the default logic to do 
   whichever you want. However, the wixstdba does not, so you get the 
   default behavior of the engine.
   Most likely, if you continue to rebuild the Bundle but keep the 
   version the same, you have multiple bundles registered on your 
   machine. Go to ProgramsFeatures (aka: ARP) and remove them all.
   Package reference counting with all those Bundles still installed 
   will likely be very confusing. smile/
  
  
  
  
   --
   
   
   Live Security Virtual Conference
   Exclusive live event will cover all the ways today's security and 
   threat landscape has changed and how IT managers can respond.
   Discussions will include endpoint security, mobile security and 
   the latest in malware threats.
   http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
 
 
 
  --
  virtually,
 
 Rob Mensching
 http://RobMensching.com LLC
 
 
 --
 
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond. 
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats. 
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 --
 
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond. 
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats. 
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 

Re: [WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Henning Krause
Hi Rob,

 You'd have to spin of a separate process that can elevate. We've talked about
 adding somethig like this to Burn for IIS because they made a huge API blunder
 and required read operations to be elevated. sigh/

But with an additional elevated process the use would have to go through the 
elevation process two times - once for the detection and once for the 
installation, or am I wrong?

 Of course, that thing hasn't been implemented yet. Maybe you'd like to
 contribute it?

I only do managed development - so, I think this would be a problem, wouldn't 
it?

Kind regards,
Henning


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn UI simple example doubt

2012-09-21 Thread vchauras
Hello all,

My need to develop is custom UI is as follows:

1. - I want the user to select which msi to install (using checkbox)
2. - Depending on which msi user selects , my next UI page would be get more
information from the user needed for the selected MSI.

So, have googled about this , I found that I have to develop a WPF installer
which would show pages 1 and 2 and send those values back to my managed BA;
which then installs the MSI.

Is this an okay design to follow or there could be a better/easy UI approach
to the above problem ?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-UI-simple-example-doubt-tp7580492p7580760.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread MikeGa
Neil Sleightholm wrote
 I don't think reading the environment variables will work as the MSI is in
 the context of the msiexec service not the user that is logged on.
 
 -Original Message-
 From: StevenOgilvie [mailto:

 sogilvie@

 ] 
 Sent: 21 September 2012 16:37
 To: 

 wix-users@.sourceforge

 Subject: -SPAM- Re: [WiX-users] -SPAM- variables not
 working...
 
 Sigh, now I am getting nothing...

I tried this to verify it this morning and the install log shows that the
type 51 created by SetProperty fired off:

MSI (s) (0C:60) [10:36:29:726]: Doing action: SetDATABASE_USERNAME
Action 10:36:29: SetDATABASE_USERNAME. 
Action start 10:36:29: SetDATABASE_USERNAME.
MSI (s) (0C:60) [10:36:29:726]: PROPERTY CHANGE: Adding DATABASE_USERNAME
property. Its value is '32BitWin7\test_user'.
Action ended 10:36:29: SetDATABASE_USERNAME. Return value 1.
MSI (s) (0C:60) [10:36:29:726]: Doing action: InstallInitialize

and the property is found at the end of the install when the properties are
dumped:

Property(S): DATABASE_USERNAME = 32BitWin7\test_user

So you should see those sort of entries in your install log.

I didn't use any defines at all. I just added the SetProperty element under
Product so that it was included in the install:

SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME]
Before=InstallInitialize Sequence=execute  / 


In Orca, the CA's row in the CustomAction table looks like this:

SetDATABASE_USERNAME51  DATABASE_USERNAME   
[%USERDOMAIN]\[%USERNAME]

A set command shows that the values match that of the user and domain. 

USERDOMAIN=32BitWin7
USERNAME=test_user  

It worked with both a local account and a domain account.

Does the install log show the CA firing off? Is the CA visible in the
CustomAction table using Orca?




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580761.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-21 Thread Alec Swan
Thank you for clarifying this for me, Peter!

I ran the MSI without REINSTALL and REINSTALLMODE and it worked like a charm!
Your explanation was perfect and Rob's response provided further
clarifications on this page
http://stackoverflow.com/questions/526707/major-vs-minor-upgrade-in-windows-installer

Thanks,

Alec

On Fri, Sep 21, 2012 at 3:04 AM, Peter Shirtcliffe pshirtcli...@sdl.com wrote:
 Are you mixing up minor and major upgrades ?
 Major upgrades use the upgrade table and replace the old product with the new
 one. You don't specify REINSTALL or REINSTALLMODE on the command line. The
 upgrade code should be the same and the product code  and version different.
 Minor upgrades repair and update the existing installation using a new
 version of the MSI. You do use REINSTALL and REINSTALLMODE but the upgrade
 table is not used. The upgrade code should be the same and the product code
 too: only the version differs.
 The MajorUpgrade element is just a convenient shorthand for using the upgrade
 table. You can leave it commented out for now.

 -Original Message-
 From: Alec [mailto:alecs...@gmail.com]
 Sent: 21 September 2012 04:30
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

 I tried silently upgrading 19.0.1 on top of 18.3 with the following code
 snippet:

 Upgrade Id=E8805AF3-CF50-4092-BE57-220A8C51E2AA
   UpgradeVersion OnlyDetect=yes Minimum=19.0.1
 IncludeMinimum=no Property=NEWERVERSIONDETECTED/  UpgradeVersion
 OnlyDetect=no Maximum=19.0.1 IncludeMaximum=no
 Minimum=18.0.0 IncludeMinimum=yes
 Property=OLDERVERSIONBEINGUPGRADED/
 /Upgrade

 CustomActionRef Id=WixExitEarlyWithSuccess/

 InstallExecuteSequence
   RemoveExistingProducts After=InstallInitialize/


   Custom Action='PrepareForInstall' After='InstallInitialize'NOT Installed
 AND NOT UPGRADINGPRODUCTCODE/Custom
   Custom Action='SetJavawPath' Before='InstallServices'NOT
 Installed/Custom
   Custom Action=Upgrader After=InstallHelperActionNOT
 Installed/Custom /InstallExecuteSequence

 The log file has the following entries:

 Doing action: FindRelatedProducts
 Action start 12:01:15: FindRelatedProducts.
 PROPERTY CHANGE: Adding OLDERVERSIONBEINGUPGRADED property. Its value is
 '{4B43BAEB-553B-4FAD-9219-C55DA3492D89}'.
 Skipping action: WixExitEarlyWithSuccess (condition is false)
 Doing action: AppSearch
 FindRelatedProducts. Return value 1.
 AppSearch.
 ...
 Windows Installer installed the product. ... Product Version:
 19.0.1. Product Language: 1033. .. Installation success or error
 status: 0.

 It looks like upgrade should have succeeded, but in reality 18.3 is there and
 19.0.1 is not.

 I noticed that we have MajorUpgrade element commented out (see above).
 Should it be uncommented? (Sorry I don't work with WIX a whole lot).

 Thanks,

 Alec



 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/UI-upgrade-succ
 eeds-but-silent-upgrade-fails-tp7580671p7580716.html
 Sent from the wix-users mailing list archive at Nabble.com.

 -
 -
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 SDL PLC confidential, all rights reserved.
 If you are not the intended recipient of this mail SDL requests and requires 
 that you delete it without acting upon or copying any of its contents, and we 
 further request that you advise us.
 SDL PLC is a public limited company registered in England and Wales.  
 Registered number: 02675207.
 Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 
 7DY, UK.


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net

[WiX-users] Bundle upgrade rollback removes the entire product other than bundle ARP entry

2012-09-21 Thread shruthi02
Hi,

During bundled upgrade, if the uninstall of the old bundle fails, this
invokes a rollback on MSI upgrade. This in turn causes the MSI to be
uninstalled instead of just rolling back to re-install the previous version
of MSI. The version of wix am using is 3.6.2803.0. 

Is this a known issue with any work-arounds or fix in later builds?

Thank you!
Shruthi



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-upgrade-rollback-removes-the-entire-product-other-than-bundle-ARP-entry-tp7580763.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Rob Mensching
I would say UPGRADE != relationType otherwise you'll be messing with add-on
and patch bundles too, I think.

On Fri, Sep 21, 2012 at 10:56 AM, Neil Sleightholm n...@x2systems.comwrote:

 So only set *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT if
 BOOTSTRAPPER_RELATION_NONE == relationType ?

 Neil

 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: 21 September 2012 18:23
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Bootstrapper Upgrade Detection

 Heh, heh, yeah, you'll go into an infinite loop if the two equal bundles
 keep upgrading each other. I bet you ended up with thousands of burn
 processes running trying to upgrade each other. Heh.

 You probably need to throw in the relationType provided from the Command
 line to make sure you don't start another upgrade when you are doing an
 upgrade.

 On Fri, Sep 21, 2012 at 7:23 AM, Gregory Beaty greg.bea...@gmail.com
 wrote:

  Any answer to this?
 
  Greg Beaty
  greg.bea...@gmail.com
 
 
  On Tue, Sep 18, 2012 at 1:00 PM, Neil Sleightholm n...@x2systems.com
  wrote:
 
   This is what I tried, in OnDetectRelatedBundle() save the
   operation. In
   OnPlanRelatedBundle() if the saved operation ==
   BOOTSTRAPPER_RELATED_OPERATION_NONE (which from previous emails I
   believe indicates that the version matches) then set
   *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT.
  
   This didn't work and caused the setup to go into an infinite loop
   launching itself again and again.
  
   Does my code look correct?
  
   Neil
  
   -Original Message-
   From: Rob Mensching [mailto:r...@robmensching.com]
   Sent: 17 September 2012 18:39
   To: General discussion for Windows Installer XML toolset.
   Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
  
   You should be able to request ABSENT for the OnPlanRelatedBundle()
   of the bundle that has the same version. The default is NONE so it
 stays.
  
   On Mon, Sep 17, 2012 at 10:03 AM, Neil Sleightholm
   n...@x2systems.com
   wrote:
  
 The BootstrapperApplication can override the default logic to
 do
whichever you want. However, the wixstdba does not, so you get the
default behavior of the engine.
   
If you have time I'd be interested to know how, I have looked at
this and as far as I can tell it is baked in to the Engine and I
couldn't find any way to override it.
   
Neil
   
-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 17 September 2012 17:28
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
   
The default upgrade logic in the Burn engine does not block and
does not upgrade bundles with the same version. That is pretty
arguably wrong (and is the bug Neil is referring to). smile/
   
The BootstrapperApplication can override the default logic to do
whichever you want. However, the wixstdba does not, so you get the
default behavior of the engine.
Most likely, if you continue to rebuild the Bundle but keep the
version the same, you have multiple bundles registered on your
machine. Go to ProgramsFeatures (aka: ARP) and remove them all.
Package reference counting with all those Bundles still installed
will likely be very confusing. smile/
   
   
   
   
--


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions will include endpoint security, mobile security and
the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
   
  
  
  
   --
   virtually,
  
  Rob Mensching
  http://RobMensching.com LLC
  
  
  --
  
   Live Security Virtual Conference
   Exclusive live event will cover all the ways today's security and
   threat landscape has changed and how IT managers can respond.
   Discussions will include endpoint security, mobile security and the
   latest in malware threats.
   http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
  
  --
  
   Live Security Virtual Conference
   Exclusive live event will cover all the ways today's security and
   threat landscape has changed and how IT managers can respond.
   Discussions will include endpoint 

Re: [WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Rob Mensching
1. Today, yes. Fixing the engine to help would be interesting. Funny thing
is that it is only IIS that seems to have this problem.

2. Not going to help fix the Burn engine with managed code, no. smile/

On Fri, Sep 21, 2012 at 11:07 AM, Henning Krause m...@henningkrause.euwrote:

 Hi Rob,

  You'd have to spin of a separate process that can elevate. We've talked
 about
  adding somethig like this to Burn for IIS because they made a huge API
 blunder
  and required read operations to be elevated. sigh/

 But with an additional elevated process the use would have to go through
 the elevation process two times - once for the detection and once for the
 installation, or am I wrong?

  Of course, that thing hasn't been implemented yet. Maybe you'd like to
  contribute it?

 I only do managed development - so, I think this would be a problem,
 wouldn't it?

 Kind regards,
 Henning



 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] variables not working...

2012-09-21 Thread StevenOgilvie
Finally got it to work

CustomAction Id=CA_SetProperty_DATABASE_USERNAME
Property=DATABASE_USERNAME Value=[%USERDOMAIN]\[LogonUser]/
UI
  ProgressText Action=CA_SetProperty_DATABASE_USERNAMECA: Setting
database username.../ProgressText
/UI

placed in both execute and UI sequence:

InstallExecuteSequence
  Custom Action='CA_SetProperty_DATABASE_USERNAME'
After='CA_SetProperty_DATABASE_NAME'/Custom

InstallUISequence
  Custom Action='CA_SetProperty_DATABASE_USERNAME'
After='CA_SetProperty_DATABASE_NAME'/Custom

thanks to all who helped!!

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/variables-not-working-tp7580709p7580766.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users