Re: [WiX-users] ComPlusExtension v3

2010-09-11 Thread Blair
The English version of this .wxl file is in the sources at
src\ext\ComPlusExtension\wixlib\en-us.wxl

Copy it (probably rename it), change the value in the Cultures attribute to
the culture you need, and translate the content of each of the Strings
elements.

Then add the translated WXL file to your WIX project.

You can repeat this for as many cultures as you need.

Please consider contributing the translations back to the community.

-Original Message-
From: Tenzen [mailto:ojt...@gmail.com] 
Sent: Monday, September 06, 2010 12:48 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ComPlusExtension v3


Thank you. I changed language to english and now there is no error (only 12
messages)

Sorry for this question but I'm a begginer: How to provide a .wxl file with
those strings defined?



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect .NET Framework 3.0

2010-09-11 Thread Blair
.NET 4 detection requires WiX 3.5 or later.

-Original Message-
From: Eric Teutsch [mailto:er...@powersoft.ca] 
Sent: Monday, September 06, 2010 2:28 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Detect .NET Framework 3.0

http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm shows also
NETFRAMEWORK40FULL and NETFRAMEWORK40CLIENT

-Original Message-
From: Ian Ceicys [mailto:ian.cei...@noblegroupinternational.com] 
Sent: September 6, 2010 16:48
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Detect .NET Framework 3.0

I'm looking for a way to detect .NET Framework 4.0. 

Any resources that provide samples on how to detect this framework?

Thanks,
Ian Ceicys

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Tuesday, August 03, 2010 5:25 AM
To: General discussion for Windows Installer XML toolset.;
wix-users-requ...@lists.sourceforge.net
Subject: Re: [WiX-users] Detect .NET Framework 3.0

http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm 

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

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

-Original Message-
From: BSR PHANI [mailto:bsrphani...@gmail.com]
Sent: 03 August 2010 07:28
To: wix-users-requ...@lists.sourceforge.net; General discussion for Windows
Installer XML toolset.
Subject: [WiX-users] Detect .NET Framework 3.0

Hi ,

Can any one please help me that how to detect .NET Framework 3.0(launch
condition) using WIX 3.0?

Thanks,
Phani

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




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


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] "Add reference" in Visual Studio 10

2010-09-11 Thread Andres Juarez

I found the info here,  
http://msdn.microsoft.com/en-us/library/wkze6zky(v=VS.100).aspx. It was a 
different key, and that works for both, VS9 and VS10
 
> From: andresj_...@hotmail.com
> To: wix-users@lists.sourceforge.net
> Date: Fri, 10 Sep 2010 20:01:50 -0700
> Subject: [WiX-users] "Add reference" in Visual Studio 10
> 
> 
> I am adding our dlls to the VS “Add reference” by simply passing the path 
> where the assemblies are to this reg key
> 
>  Key="Software\Microsoft\.NETFramework\AssemblyFolders">
> 
> This works fine for VS9, but it does not seem to do anything for VS10. 
> 
> Does anyone know what else is missing here for VS10?
> 
> Thanks 
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
  
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] .Net 4 bootstrapper with Windows Imaging Component

2010-09-11 Thread Bruce Cran
On Wed, 8 Sep 2010 06:57:49 -0700
Rob Mensching  wrote:

> The issue you are seeing is probably the managed code not launching
> for some reason. There should be a log file in %TEMP% called
> something "Wix" that hopefully will pinpoint the issue. If nt, we
> need to add more logging. :)

It seems more logging might be needed. This is what I see in the logs:

[08F8:0900][2010-09-11T18:18:31.101+00:00]: Initializing string variable 
'MbaNetfxPackageId' to value 'Netfx4Full'
[08F8:0900][2010-09-11T18:18:31.148+00:00]: Burn v3.6.0910.0, path: 
C:\Users\Bruce\Desktop\Wix36.exe, cmdline: ''
[08F8:0900][2010-09-11T18:18:31.148+00:00]: Setting string variable 'BurnLog' 
to value 'C:\Users\Bruce\AppData\Local\Temp\Wix36_20100911181831.log'
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Detect 3 packages
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Registry value not found. Key = 
'SOFTWARE\Microsoft\VisualStudio\8.0', Value = 'InstallDir'
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Condition 'Netfx4FullVersion AND 
(NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true.
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Detected package: Netfx4Full, 
state: Present, cached: Yes
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Detected package: 
ProjectAggregator2, state: Absent, cached: No
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Detected package: Wix, state: 
Absent, cached: No
[08F8:0900][2010-09-11T18:18:31.226+00:00]: Detect complete, result: 0x0

So it's seeing that .NET 4.0 is installed but still displays the message:

The .NET Framework 4.0 is required by [BundleName] to
Click Install to(view license)

-- 
Bruce Cran

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] "Add reference" in Visual Studio 10

2010-09-11 Thread Neil Sleightholm
The key has changed for vs 2010 (in fact it changed for 2008 but the old one 
worked). Try searching for AssemblyFoldersEx you should find the details. When 
I did it I found the new key didn't work for .net 2.0 projects in vs2010 and I 
never figured out why. 

Neil

Neil Sleightholm
n...@x2systems.com

On 10 Sep 2010, at 20:06, "Andres Juarez"  wrote:

> AssemblyFolders

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Howto remove files before Installer terminates

2010-09-11 Thread Fabio Di Lorenzo
Hi Peter,

Let me understand this correctly: You want to remove the "DirectXRedist"
Component & Folder after the installation is finished?

Because its part of your installation i do not recommend to delete this
folder afterwards.
it's possible to do this with a  custom action, but after each repair of
your product it will be restored (& redeleted) ;)

i would rather choose another technical solution if you dont want to leave
any directx redist files.

Regards,
Fabio



On Fri, Sep 10, 2010 at 2:24 PM, kr871io9  wrote:

> Hi,
>
> I am new to WiX, so hopefully I am not missing any fundamental steps here.
>
> I am creating an installer for a Desktop Application.  The installer also
> installs DirectX 9.0  as described in the Wix.chm How To Guides. Everything
> works fine as expected, but I would like to remove the DirectX Redist
> folder, before the Installer terminates. What would be the preferred way to
> achieve this?
>
> Thanks
> Peter
>
>
>
>
> --
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful,
> automated storage tiering capabilities. View this brief to learn how
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Fabio Di Lorenzo
Can you provide a logfile?

(msiexec /i "product.msi" /l*v "C:\log.txt")


On Sat, Sep 11, 2010 at 5:36 PM, Alexander Kozlenko <
alexander.kozle...@hotmail.com> wrote:

> Hi Fabio,
>
> Thanks for code sample, but this doesn't help...
>
> Alexander Kozlenko
>
> -Original Message-
> From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch]
> Sent: Saturday, September 11, 2010 5:31 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut
>
> Hi Alexander,
>
> try the following
>
> add the following xml code before any other "ShortcutProperty" Elements:
>
>  Value="0" />
>
> Does this work?
>
> Regards,
> Fabio
>
> On Sat, Sep 11, 2010 at 12:46 PM, Alexander Kozlenko <
> alexander.kozle...@hotmail.com> wrote:
>
> > Yes, I know that. But executable name doesn't include any word from
> > this list. When I launch application I _can_ pin it from taskbar context
> menu.
> > But I can't pin it from shortcut (as from Acrobat Reader or Outlook
> > advertised shortcuts).
> >
> > -Original Message-
> > From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch]
> > Sent: Saturday, September 11, 2010 12:35 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut
> >
> > HI Alexander,
> >
> > There is a kill list, do you know that?
> >
> > http://www.west-wind.com/weblog/posts/32765.aspx
> >
> > Regards,
> > Fabio
> >
> > On Sat, Sep 11, 2010 at 12:34 AM, Alexander Kozlenko <
> > alexander.kozle...@hotmail.com> wrote:
> >
> > > Hello. Still can't find a solution so asking here.
> > >
> > > I have an advertised shortcut for my installed application but this
> > > shortcut hasn't context menu items "Pin to Start menu" and "Pin to
> > > Taskbar".
> > > Shortcut
> > > options:
> > >
> > >  > Advertise="yes"
> > > Directory="ProgramMenuFolder" WorkingDirectory="INSTALLLOCATION"
> > > Icon="Application.ico">
> > >
> > > After adding these lines:
> > >
> > >  > > Value="MyCompany.MyApplication" />
> > >
> > >  > > Value="MyAppilcation.exe" />
> > >
> > >  > > Value="MyApplication" />
> > >
> > > "Pin to Start menu" item added to context menu, but still no "Pin to
> > > Taskbar". However application can be pinned to taskbar: I can run
> > > application and select "Pin this program to Taskbar" from
> > > application taskbar icon. Also application set the same Application
> > > ID
> > > ("MyCompany.MyApplication") after run. I see that Acrobat Reader 9
> > > has advertised shortcut too and this shortcut has all two menu items
> > > for pinning. What I'm doing wrong? Thanks.
> > >
> > > Additional project data: Targeting Windows 7 x64 only, WiX 3.5.
> > >
> > > Alexander Kozlenko
>
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Alexander Kozlenko
Hi Fabio,

Thanks for code sample, but this doesn't help...

Alexander Kozlenko

-Original Message-
From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch] 
Sent: Saturday, September 11, 2010 5:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut

Hi Alexander,

try the following

add the following xml code before any other "ShortcutProperty" Elements:



Does this work?

Regards,
Fabio

On Sat, Sep 11, 2010 at 12:46 PM, Alexander Kozlenko <
alexander.kozle...@hotmail.com> wrote:

> Yes, I know that. But executable name doesn't include any word from 
> this list. When I launch application I _can_ pin it from taskbar context
menu.
> But I can't pin it from shortcut (as from Acrobat Reader or Outlook 
> advertised shortcuts).
>
> -Original Message-
> From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch]
> Sent: Saturday, September 11, 2010 12:35 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut
>
> HI Alexander,
>
> There is a kill list, do you know that?
>
> http://www.west-wind.com/weblog/posts/32765.aspx
>
> Regards,
> Fabio
>
> On Sat, Sep 11, 2010 at 12:34 AM, Alexander Kozlenko < 
> alexander.kozle...@hotmail.com> wrote:
>
> > Hello. Still can't find a solution so asking here.
> >
> > I have an advertised shortcut for my installed application but this 
> > shortcut hasn't context menu items "Pin to Start menu" and "Pin to 
> > Taskbar".
> > Shortcut
> > options:
> >
> >  Advertise="yes"
> > Directory="ProgramMenuFolder" WorkingDirectory="INSTALLLOCATION"
> > Icon="Application.ico">
> >
> > After adding these lines:
> >
> >  > Value="MyCompany.MyApplication" />
> >
> >  > Value="MyAppilcation.exe" />
> >
> >  > Value="MyApplication" />
> >
> > "Pin to Start menu" item added to context menu, but still no "Pin to 
> > Taskbar". However application can be pinned to taskbar: I can run 
> > application and select "Pin this program to Taskbar" from 
> > application taskbar icon. Also application set the same Application 
> > ID
> > ("MyCompany.MyApplication") after run. I see that Acrobat Reader 9 
> > has advertised shortcut too and this shortcut has all two menu items 
> > for pinning. What I'm doing wrong? Thanks.
> >
> > Additional project data: Targeting Windows 7 x64 only, WiX 3.5.
> >
> > Alexander Kozlenko


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to get the current directory of msi is running from?

2010-09-11 Thread Major shao
Jirong

How did you make it work? Just use the SourceDir in the ExeCommand?

where is your exe file? Is it under the directory where the msi is?

Thanks

Shao

*
*
*
*
*
*
*
*
*
*
*Re: [WiX-users] How to get the current directory of msi is running from?*
From: Jirong Hu  - 2009-06-12 21:25

Hi Phil

The SourceDir worked.

Thanks a lot.
Jirong

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@wonderware.com]
Sent: Thursday, June 11, 2009 4:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to get the current directory of msi is
running from?

You probably want the standard MSI property SourceDir, that or the
OriginalDatabase property (the full path to the MSI file) that you'll
have to parse a little.

Phil Wilson


-Original Message-
From: Jirong Hu [mailto:jirong...@gov.ab.ca]
Sent: Thursday, June 11, 2009 3:12 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to get the current directory of msi is
running from?

Both of you are right, and I am able to run the following code snip.
But what I get is still "C:\Inetpub\wwwroot\SFS\Configuration\" where
ConfiguratorEXE is located. It's not the location where msi file is
launched, which can be anywhere user store this msi file.



Thanks
Jirong

-Original Message-
From: David Bartmess [mailto:david.bartm...@wallst.com]
Sent: Thursday, June 11, 2009 3:36 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to get the current directory of msi is
running from?

You can use the system variable $(sys.CURRENTDIR) that should get the
current working directory.

-Original Message-
From: Rob Mensching [mailto:r...@wixtoolset.org]
Sent: Thursday, June 11, 2009 9:50 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to get the current directory of msi is
running from?

I have no idea why MSDN makes it so difficult to find stuff:
http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx


Jirong Hu wrote:
> I am new to MSI so don't understand. I've googled also couldn't find 
> something like "MSI SDK Formatted". Can you please give me more information?
>
> Thanks
> Jirong
>
>
> -Original Message-
> From: Rob Mensching [mailto:r...@wixtoolset.org]
> Sent: Wednesday, June 10, 2009 4:41 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How to get the current directory of msi is running 
> from?
>
> I'd use the Formatted syntax that refers to File/@Ids. See the MSI SDK
> Formatted topic for more details.
>
> Jirong Hu wrote:
>
>> Hi All
>>
>>
>>
>> In the follow wxs, I want the SFSConfigFileEditor.exe get configurator.xml 
>> (the first parameter) from the current directory where msi file gets 
>> launched. Something like 'ExeCommand= CurrentDirectory & "configurator.xml 
>> ...
>>
>>
>>
>> How to get that current directory inside wxs?
>>
>>
>>
>> > LongName="SFSConfigFileEditor.exe" Source=".\SFSConfigFileEditor.exe"
>> DiskId="1"/>
>>
>>
>>
>> > FileKey="ConfiguratorEXE" ExeCommand="configurator.xml
>> "[SFSENVIRONMENT]"" Return="asyncWait"/>
>>
>>
>> Thanks
>> Jirong Hu
>> Build Master
>> 780-644-5488
>>
>>
>> This communication is intended for the use of the recipient to which it is 
>> addressed, and may contain confidential, personal, and or privileged 
>> information. Please contact us immediately if you are not the intended 
>> recipient of this communication, and do not copy, distribute, or take action 
>> relying on it. Any communication received in error, or subsequent reply, 
>> should be deleted or destroyed.
>> -
>> - Crystal Reports - New Free Runtime and 30 Day Trial Check
>> out the new simplified licensing option that enables unlimited
>> royalty-free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
> --
>  Crystal Reports - New Free Runtime and 30 Day Trial Check out
> the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> This communication is intended for the use of the recipient to which it is 
> addressed, and may contain confidential, personal, and or privileged 
> information. Please contact us immediately if you are not the intended 
> recipient of this communication, and do not copy, distribute, 

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-11 Thread Major shao
I am having maybe a similar question here. I want to run a batch file which
is at the directory where the msi is.
if i use the FileKey in the customaction, how do i specify the directory in
the File element for that batch file?

(I do not install this batch file)

Thanks

Shao

On Sat, Sep 11, 2010 at 7:42 AM, Christopher Painter <
chr...@deploymentengineering.com> wrote:

> I believe that the WiX Quiet CA pattern changes the working directory to be
> that
> of the target EXE.  I'd have to mock it up to test that though.But if
> it was
> me, I'd do some reverse engineering of what adxreg.exe is doing through
> some profiling and once I understood the actual setup requirements I'd
> write my
> own solution that was data driven and supported rollback.   You could very
> well
> find out that it's doing nothing more then writing some registry values.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
>
> - Original Message 
> From: little.forest 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 10:39:57 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> Thanks Christopher. I appreciate it.
>
>
> I looked at that manual. I actually implemented "type 18 customaction" in
> the
> first place. But it didn't work for us. Here is my original code:
> 
>  KeyPath="yes" Checksum="yes" />
> 
>
>  FileKey="AdxRegistrator"
> ExeCommand="/install=MyApp.dll /privileges=admin"
> Execute="deferred"
> Return="ignore"
> HideTarget="no"
> Impersonate="no" />
>
> 
> Not
> Installed
> 
>
> The problem isn't about Wix. The problem is that 3rd party program. It
> doesn't
> support "path in the executable name". So things like "C:\Program
> Files\adxreg.exe /install" doesn't work. You have to actually in that
> folder and
>
> run "adxreg.exe /install". This is really odd to me.
>
>
> And you're correct that thing is a home-made SelfReg. The program is from
> "Addin
>
> Express".
>
>
> So I wonder if there is a better way to actually "change dir" to the
> folder, and
>
> then run "adxreg.exe /install" from there. If you know there is a way, let
> me
> know please.
>
>
>
>
>
> 
> From: Christopher Painter 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 7:28:40 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> VBScript is unacceptable for installs that I write.  Have you looked at
> http://wix.sourceforge.net/manual-wix3/qtexec.htm to see if it meets your
> needs?  BTW, the commandline being called in this example suggests to me
> additional problems with this installers design.  adxreg.exe
> /install=myapp.dll
>
>
> sounds a lot like a home grown  SelfReg pattern which brings all sorts of
> other
> problems.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
>
> - Original Message 
> From: little.forest 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 9:21:05 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> Thanks Edwin!
>
>
> Yes, I also found it in
> here(
> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12592.html
> ). It works now.
>
> But some people said using vbscript in customaction isn't a good idea. so
> what
> could be the best solution if not using vbscript?
>
> Thanks.
>
>
>
> 
> From: "Castro, Edwin G. (Hillsboro)" 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 5:50:03 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> Try:
>
> Public Function Main()
> Dim WshShell
> Set WshShell = CreateObject("WScript.Shell")
> WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp"
> WshShell.Run "adxreg.exe /install=myapp.dll"
> Set WshShell = Nothing
> End Function
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> Please consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: little.forest [mailto:little.for...@ymail.com]
> >
> >
> > Anyway, I found type 22(vbscript) maybe the one we need. So I tried it.
> But it
> > doesn't work for me.
> >
> > I mean, the vbscript itself works, here it is:
> > 
> > Public Function Main()
> > Dim WshShell
> > Set WshShell = WScript.CreateObject("WScript.Shell")
> >  WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp"
> >  WshShell.Run "adxreg.exe /install=myapp.dll"
> > Set WshShell = Nothing

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-11 Thread Fabio Di Lorenzo
for that solution i'd recommend to use this tool to do a registry
comparison.

http://regshot.ru/

Regards,
Fabio

On Sat, Sep 11, 2010 at 4:42 PM, Christopher Painter <
chr...@deploymentengineering.com> wrote:

> I believe that the WiX Quiet CA pattern changes the working directory to be
> that
> of the target EXE.  I'd have to mock it up to test that though.But if
> it was
> me, I'd do some reverse engineering of what adxreg.exe is doing through
> some profiling and once I understood the actual setup requirements I'd
> write my
> own solution that was data driven and supported rollback.   You could very
> well
> find out that it's doing nothing more then writing some registry values.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
>
> - Original Message 
> From: little.forest 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 10:39:57 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> Thanks Christopher. I appreciate it.
>
>
> I looked at that manual. I actually implemented "type 18 customaction" in
> the
> first place. But it didn't work for us. Here is my original code:
> 
>  KeyPath="yes" Checksum="yes" />
> 
>
>  FileKey="AdxRegistrator"
> ExeCommand="/install=MyApp.dll /privileges=admin"
> Execute="deferred"
> Return="ignore"
> HideTarget="no"
> Impersonate="no" />
>
> 
> Not
> Installed
> 
>
> The problem isn't about Wix. The problem is that 3rd party program. It
> doesn't
> support "path in the executable name". So things like "C:\Program
> Files\adxreg.exe /install" doesn't work. You have to actually in that
> folder and
>
> run "adxreg.exe /install". This is really odd to me.
>
>
> And you're correct that thing is a home-made SelfReg. The program is from
> "Addin
>
> Express".
>
>
> So I wonder if there is a better way to actually "change dir" to the
> folder, and
>
> then run "adxreg.exe /install" from there. If you know there is a way, let
> me
> know please.
>
>
>
>
>
> 
> From: Christopher Painter 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 7:28:40 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> VBScript is unacceptable for installs that I write.  Have you looked at
> http://wix.sourceforge.net/manual-wix3/qtexec.htm to see if it meets your
> needs?  BTW, the commandline being called in this example suggests to me
> additional problems with this installers design.  adxreg.exe
> /install=myapp.dll
>
>
> sounds a lot like a home grown  SelfReg pattern which brings all sorts of
> other
> problems.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
>
> - Original Message 
> From: little.forest 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 9:21:05 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> Thanks Edwin!
>
>
> Yes, I also found it in
> here(
> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12592.html
> ). It works now.
>
> But some people said using vbscript in customaction isn't a good idea. so
> what
> could be the best solution if not using vbscript?
>
> Thanks.
>
>
>
> 
> From: "Castro, Edwin G. (Hillsboro)" 
> To: General discussion for Windows Installer XML toolset.
> 
> Sent: Fri, September 10, 2010 5:50:03 PM
> Subject: Re: [WiX-users] How to change to a directory and run customaction
> inside that directory?
>
> Try:
>
> Public Function Main()
> Dim WshShell
> Set WshShell = CreateObject("WScript.Shell")
> WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp"
> WshShell.Run "adxreg.exe /install=myapp.dll"
> Set WshShell = Nothing
> End Function
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> Please consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: little.forest [mailto:little.for...@ymail.com]
> >
> >
> > Anyway, I found type 22(vbscript) maybe the one we need. So I tried it.
> But it
> > doesn't work for me.
> >
> > I mean, the vbscript itself works, here it is:
> > 
> > Public Function Main()
> > Dim WshShell
> > Set WshShell = WScript.CreateObject("WScript.Shell")
> >  WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp"
> >  WshShell.Run "adxreg.exe /install=myapp.dll"
> > Set WshShell = Nothing
> > End Function
> >
> >
> > Main
> > 
> >
> >
> >
>
> --
> Star

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-11 Thread Christopher Painter
I believe that the WiX Quiet CA pattern changes the working directory to be 
that 
of the target EXE.  I'd have to mock it up to test that though.    But if it 
was 
me, I'd do some reverse engineering of what adxreg.exe is doing through 
some profiling and once I understood the actual setup requirements I'd write my 
own solution that was data driven and supported rollback.   You could very well 
find out that it's doing nothing more then writing some registry values.
 
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



- Original Message 
From: little.forest 
To: General discussion for Windows Installer XML toolset. 

Sent: Fri, September 10, 2010 10:39:57 PM
Subject: Re: [WiX-users] How to change to a directory and run customaction 
inside that directory?

Thanks Christopher. I appreciate it.


I looked at that manual. I actually implemented "type 18 customaction" in the 
first place. But it didn't work for us. Here is my original code:
 
 
 

 

 
Not 
Installed 
  

The problem isn't about Wix. The problem is that 3rd party program. It doesn't 
support "path in the executable name". So things like "C:\Program 
Files\adxreg.exe /install" doesn't work. You have to actually in that folder 
and 

run "adxreg.exe /install". This is really odd to me.


And you're correct that thing is a home-made SelfReg. The program is from 
"Addin 

Express".


So I wonder if there is a better way to actually "change dir" to the folder, 
and 

then run "adxreg.exe /install" from there. If you know there is a way, let me 
know please.






From: Christopher Painter 
To: General discussion for Windows Installer XML toolset. 

Sent: Fri, September 10, 2010 7:28:40 PM
Subject: Re: [WiX-users] How to change to a directory and run customaction 
inside that directory?

VBScript is unacceptable for installs that I write.  Have you looked at 
http://wix.sourceforge.net/manual-wix3/qtexec.htm to see if it meets your 
needs?  BTW, the commandline being called in this example suggests to me 
additional problems with this installers design.  adxreg.exe 
/install=myapp.dll  


sounds a lot like a home grown  SelfReg pattern which brings all sorts of other 
problems.

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



- Original Message 
From: little.forest 
To: General discussion for Windows Installer XML toolset. 

Sent: Fri, September 10, 2010 9:21:05 PM
Subject: Re: [WiX-users] How to change to a directory and run customaction 
inside that directory?

Thanks Edwin!


Yes, I also found it in 
here(http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12592.html 
). It works now.

But some people said using vbscript in customaction isn't a good idea. so what 
could be the best solution if not using vbscript?

Thanks.




From: "Castro, Edwin G. (Hillsboro)" 
To: General discussion for Windows Installer XML toolset. 

Sent: Fri, September 10, 2010 5:50:03 PM
Subject: Re: [WiX-users] How to change to a directory and run customaction 
inside that directory?

Try:

Public Function Main()
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp"
WshShell.Run "adxreg.exe /install=myapp.dll"
Set WshShell = Nothing
End Function

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


> -Original Message-
> From: little.forest [mailto:little.for...@ymail.com]
>
> 
> Anyway, I found type 22(vbscript) maybe the one we need. So I tried it. But it
> doesn't work for me.
> 
> I mean, the vbscript itself works, here it is:
> 
> Public Function Main()
> Dim WshShell
> Set WshShell = WScript.CreateObject("WScript.Shell")
>  WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp"
>  WshShell.Run "adxreg.exe /install=myapp.dll"
> Set WshShell = Nothing
> End Function
> 
> 
> Main
> 
> 
> 
> 
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev

Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Fabio Di Lorenzo
Hi Alexander,

try the following

add the following xml code before any other "ShortcutProperty" Elements:



Does this work?

Regards,
Fabio

On Sat, Sep 11, 2010 at 12:46 PM, Alexander Kozlenko <
alexander.kozle...@hotmail.com> wrote:

> Yes, I know that. But executable name doesn't include any word from this
> list. When I launch application I _can_ pin it from taskbar context menu.
> But I can't pin it from shortcut (as from Acrobat Reader or Outlook
> advertised shortcuts).
>
> -Original Message-
> From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch]
> Sent: Saturday, September 11, 2010 12:35 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut
>
> HI Alexander,
>
> There is a kill list, do you know that?
>
> http://www.west-wind.com/weblog/posts/32765.aspx
>
> Regards,
> Fabio
>
> On Sat, Sep 11, 2010 at 12:34 AM, Alexander Kozlenko <
> alexander.kozle...@hotmail.com> wrote:
>
> > Hello. Still can't find a solution so asking here.
> >
> > I have an advertised shortcut for my installed application but this
> > shortcut hasn't context menu items "Pin to Start menu" and "Pin to
> > Taskbar".
> > Shortcut
> > options:
> >
> >  Advertise="yes"
> > Directory="ProgramMenuFolder" WorkingDirectory="INSTALLLOCATION"
> > Icon="Application.ico">
> >
> > After adding these lines:
> >
> >  > Value="MyCompany.MyApplication" />
> >
> >  > Value="MyAppilcation.exe" />
> >
> >  > Value="MyApplication" />
> >
> > "Pin to Start menu" item added to context menu, but still no "Pin to
> > Taskbar". However application can be pinned to taskbar: I can run
> > application and select "Pin this program to Taskbar" from application
> > taskbar icon. Also application set the same Application ID
> > ("MyCompany.MyApplication") after run. I see that Acrobat Reader 9 has
> > advertised shortcut too and this shortcut has all two menu items for
> > pinning. What I'm doing wrong? Thanks.
> >
> > Additional project data: Targeting Windows 7 x64 only, WiX 3.5.
> >
> > Alexander Kozlenko
>
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] IIS7 crash during installation of 2 web sites

2010-09-11 Thread Alex Galperin
Hi guys!
We have 2 merge modules and MSI installation with them. Each module contains
component which configure IIS (application pool and web-site creation).
During installation setup crashes. With error
WriteIIS7ConfigChanges: Error 0x80070002: Failed get handlers section for
DirProp
WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS
DirProperties.
WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed.

Environment: Windows Server 2008 R2 x64, IIS 7
First component for IIS configuration:








Second component for IIS configuration:









I've also created a bug ID:3064181.
Thanks for your help.
Best Regards
Rovanpiera
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Alexander Kozlenko
Yes, I know that. But executable name doesn't include any word from this
list. When I launch application I _can_ pin it from taskbar context menu.
But I can't pin it from shortcut (as from Acrobat Reader or Outlook
advertised shortcuts).

-Original Message-
From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch] 
Sent: Saturday, September 11, 2010 12:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut

HI Alexander,

There is a kill list, do you know that?

http://www.west-wind.com/weblog/posts/32765.aspx

Regards,
Fabio

On Sat, Sep 11, 2010 at 12:34 AM, Alexander Kozlenko <
alexander.kozle...@hotmail.com> wrote:

> Hello. Still can't find a solution so asking here.
>
> I have an advertised shortcut for my installed application but this 
> shortcut hasn't context menu items "Pin to Start menu" and "Pin to 
> Taskbar".
> Shortcut
> options:
>
>  Directory="ProgramMenuFolder" WorkingDirectory="INSTALLLOCATION"
> Icon="Application.ico">
>
> After adding these lines:
>
>  Value="MyCompany.MyApplication" />
>
>  Value="MyAppilcation.exe" />
>
>  Value="MyApplication" />
>
> "Pin to Start menu" item added to context menu, but still no "Pin to 
> Taskbar". However application can be pinned to taskbar: I can run 
> application and select "Pin this program to Taskbar" from application 
> taskbar icon. Also application set the same Application ID
> ("MyCompany.MyApplication") after run. I see that Acrobat Reader 9 has 
> advertised shortcut too and this shortcut has all two menu items for 
> pinning. What I'm doing wrong? Thanks.
>
> Additional project data: Targeting Windows 7 x64 only, WiX 3.5.
>
> Alexander Kozlenko


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Compiler error with PermissionEx (non-util version)

2010-09-11 Thread Fabio Di Lorenzo
Hi Ryan,

It seems not be a compile error. in facts its a validation error after the
compile.

In my opinion everything is fine and you can use the produced msi.

WiX seems to use "FormattedSddl" as category for this column in the
validation table.

But thats wrong, the correct one should be "FormattedSDDLText".

http://msdn.microsoft.com/en-us/library/dd407935(v=VS.85).aspx


Regards,
Fabio




On Fri, Sep 10, 2010 at 7:59 PM, Ryan Wilkerson (OPSMGR) <
ryan.wilker...@microsoft.com> wrote:

> Hi all,
>
> I am hitting a compiler error with PermissionEx and I'm hoping someone here
> can provide some insight.
>
>  Name="[name]" Type="string" Value="[value]" >
> 
> 
>
> error LGHT0204 : ICE03: _Validation table: Invalid category string; Table:
> MsiLockPermissionsEx, Column: SDDLText, Key(s): permission
>
> I looked here:
> http://wix.sourceforge.net/manual-wix3/wix_xsd_permissionex.htm and saw
> that this is only usable with MSI 5.0, so I set InstallerVersion="500".
>  Still no success compiling.
>
> The way I read the compiler error, it sounds like my SDDL string could not
> be converted to FormattedSDDLText, but the one above has worked in prior
> applications.
>
> I am using WiX 3.0.5419.
>
> Does anyone have any insight into this problem?
>
> Many Thanks,
> Ryan Wilkerson
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Fabio Di Lorenzo
HI Alexander,

There is a kill list, do you know that?

http://www.west-wind.com/weblog/posts/32765.aspx

Regards,
Fabio

On Sat, Sep 11, 2010 at 12:34 AM, Alexander Kozlenko <
alexander.kozle...@hotmail.com> wrote:

> Hello. Still can't find a solution so asking here.
>
>
>
> I have an advertised shortcut for my installed application but this
> shortcut
> hasn't context menu items "Pin to Start menu" and "Pin to Taskbar".
> Shortcut
> options:
>
>  Directory="ProgramMenuFolder" WorkingDirectory="INSTALLLOCATION"
> Icon="Application.ico">
>
> After adding these lines:
>
>  Value="MyCompany.MyApplication" />
>
>  Value="MyAppilcation.exe" />
>
>  Value="MyApplication" />
>
> "Pin to Start menu" item added to context menu, but still no "Pin to
> Taskbar". However application can be pinned to taskbar: I can run
> application and select "Pin this program to Taskbar" from application
> taskbar icon. Also application set the same Application ID
> ("MyCompany.MyApplication") after run. I see that Acrobat Reader 9 has
> advertised shortcut too and this shortcut has all two menu items for
> pinning. What I'm doing wrong? Thanks.
>
>
>
> Additional project data: Targeting Windows 7 x64 only, WiX 3.5.
>
>
>
> Alexander Kozlenko
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users