[WiX-users] Creating two start menu shortcuts for the same executable

2013-12-13 Thread Markus Ewald
Hi!

I'm trying to add a second start menu shortcut to my installer, but it 
just doesn't add the second shortcut. I can't find any message 
indicating why in msiexec's install log either.



   

 

 

 
 

   



I've tried creating two components (but for some reason WiX then wants a 
second registry entry, too, but insists on only a single ), no success either.

How can I get my second shortcut to appear in the start menu?

Regards,
Markus Ewald

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating two start menu shortcuts for the same executable

2013-12-13 Thread Markus Ewald
On 12/13/2013 5:30 PM, Nicolás Alvarez wrote:
> Is this an upgrade? Are you testing it with an older version of the 
> product (containing a single shortcut) already installed? 

No, it's a completely new installer and I do not plan to bother with 
upgrade installs at all.

Regards,
Markus Ewald

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating two start menu shortcuts for the same executable

2013-12-13 Thread Markus Ewald
On 12/13/2013 11:21 PM, Bevan Weiss wrote:
> I would suggest using two separate components for it.
> Each Shortcut is really a file..
> Then each would get its own HKCU registry entry.
>
> Is your installer PerUser or PerMachine?
> The HKCU entry might not be so appropriate for a PerMachine install.

As I stated below my snippet, I already tried it with a separate 
component (complete with another dummy registry entry), but Windows 
Installer still does not create the second shortcut.

Maybe the problem is that both Shortcuts actually piggyback on 
"myapplication.exe" in some way - I'm getting one warning when I create 
my installer:

warning LGHT1076 : ICE69: Mismatched component reference. Entry
'ApplicationStartMenuShortcut' of the Shortcut table belongs to
component 'ApplicationShortcut'. However, the formatted string in
column 'Target' references file 'myapplication.exe' which belongs to
component 'myapplication.exe'. Components are in the same feature.

Thanks for pointing out the HKCU thing. The registry entry isn't used 
for anything but maybe putting it in HKLM is better since the install is 
per machine.

Regards,
Markus Ewald

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating two start menu shortcuts for the same executable

2013-12-13 Thread Markus Ewald
On 12/14/2013 12:18 AM, Edwin Castro wrote:
> On 12/13/13, 3:07 PM, Markus Ewald wrote:
>>  warning LGHT1076 : ICE69: Mismatched component reference. Entry
>>  'ApplicationStartMenuShortcut' of the Shortcut table belongs to
>>  component 'ApplicationShortcut'. However, the formatted string in
>>  column 'Target' references file 'myapplication.exe' which belongs to
>>  component 'myapplication.exe'. Components are in the same feature.
> I think this warning is telling you that all shortcuts to
> myapplication.exe should exist in the same component that installs
> myapplication.exe.
>
> If you install the shortcuts and the exe in different components then
> that opens the possibility that somebody will allow the exe to be
> uninstalled without uninstalling the shortcuts.

Tell that to the official documentation of the WiX toolset ;-)
http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/create_start_menu_shortcut.html

The warning was also discussed on this mailing list in 2009 where it was 
considered /normal/
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Incomprehensible-warning-td2234181.html

I can avoid it by using [APPLICATIONROOTDIRECTORY]myapplication.exe - 
creating an unvalidated shortcut that could point to anything even 
outside of the installer. I could also place my shortcuts directly under 
the  element for myapplication.exe, but I'm generating the file 
list via Heat.exe, so this would involve some patching via xmlpoke or 
sed which I'm not keen on (and neither does the example in the 
documentation do it that way).

Regards,
Markus Ewald

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shortcuts to in another

2008-12-24 Thread Markus Ewald
Hi!

I'm trying to build an installer with two s: One is for the 
core installation (which the user cannot deselect) and one is for an 
expansion pack to my application. Now my problem is that the expansion 
pack doesn't have a separate executable, it simply installs some 
additional files and starts the main executable with a special argument:

  


  
  

  

I don't have the slightest idea how I can get the shortcut in the 
"Expansion" component to point at MyGame.exe from the "Game" component.
There seems to be no  element and the meaning of the 'Target' 
attribute in the  element eludes me...

Can anyone point me in the right direction?

-Markus-

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing multiple MSI

2009-04-27 Thread Markus Ewald
On 27.04.2009 18:24, Raja, Moiz (Moiz) wrote:
> Hi All,
>
> When I install my program I present checkbox to install an optional
> feature. If the user selects that checkbox then I need to install
> another MSI. I understand that a bootstrapper is required to do this
> type of installation. Any suggestions on 3rdparty bootstrappers that may
> be available that I can use for this purpose or do I need to write the
> bootstrapper myself.
>
> If anyone has ideas on how I can achieve my goal without using a
> bootstrapper are also welcome.
>
I have done this without a Bootstrapper. Check out 
http://www.codeplex.com/xnainstaller, it is a simple .msi file that will 
extract another .msi during install and install it as well. Complete 
source code to the Custom Action used for that can be downloaded as well.

The limitation of only one Windows Installer working at the same time 
(through a global semaphore) relates to the deferred part of the 
installation process. As long as the wizard GUI is displayed, the 
semaphore has not been entered and other installers can be executed.

So I simply used an immediate mode Custom Action that extracts the other 
.msi and installs it. If that install fails, the installer can be 
aborted using a negative return from the Custom Action and if it 
succeeds, the installer will let the user continue and install the 
actual product.

>
> Thanks,
> -Moiz
-Markus-

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX C++ Custom Action not Invoked after upgrading to VS 2008

2008-07-11 Thread Markus Ewald
Ryan O'Neill wrote:
> The thing that seems obvious is that it is probably using .Net 3.0 or 3.5 as
> the upgrade wizard will select these for you. Check the target framework
> version as you might not have it on the system you are installing to.
>
>   
Also make sure you're compiling with the static runtime libraries, 
otherwise, your installer will require the Visual C++ 2008 
Redistributable on the target systems. It's the same with Visual C++ 
2005, but most systems already have obtained that runtime one way or 
another, so there's a good chance of not noticing the mistake.

Project Settings -> C/C++ -> Code Generation -> Runtime Library
Select "Multithreaded" for the release build
Select "Multithreaded Debug" for the debug build


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sujanakar1
> Sent: 11 July 2008 05:47
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] WiX C++ Custom Action not Invoked after upgrading to VS
> 2008
>
>
> Hi, 
>
> I am developing an installer using Wix. 
>
> I am not good at C++, So I have written some custom actions in C# and
> invoking these Custom Actions from Wix using a wrapper written in C++ (it
> contains nothing other than invoking C# CustomActions) 
>
> If i build my Custom Wrapper in VS 2005, it is getting invoked from Wix and
> is working as expected. But I upgraded all my solutions to VS 2008, after
> upgrading to VS 2008 the call to Custom Wrapper is not happening and I am
> not able to perform any of my custom actions. 
>
> Pls help me, what could be the problem with upgraded C++ dll. 
>
>
> Thanks, 
> Sujanakar
>
>   


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Transparent bitmaps in UI

2007-11-08 Thread Markus Ewald
Hi!

Does Windows Installer support any image formats with transparency?
I tried using .pngs instead of .bmps, but the outcome was simply no 
bitmap being displayed at all :)

What I'm trying to do is display some non-rectangular images in one of 
my dialogs. Here's what it looks like now, (notice the ugly white border 
around the green checks and red crosses):
http://www.nuclex.org/news/2007/11/07/xna-game-installer-part-2

Thanks,
-Markus-


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


[WiX-users] How to store binary data in CustomTable

2007-11-13 Thread Markus Ewald
Hi!

I'm trying to store binary data pulled in from a file into a wix 
. Therefore, I've set up a custom table like this:


  
  
  
file1.dat
? ? ?
  


The only way I see this could be achieved is by putting binary data 
directly into my WiX XML file in a CDATA block. But that's not a very 
nice solution. Is there some kind of  statement or 
$(dosomething) I can use to read the data I want to store in the custom 
table from a file?

-Markus-


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


[WiX-users] Running Multiple CAs on Button Press

2007-11-21 Thread Markus Ewald
Hi!

I'm trying to execute multiple custom actions when the user presses a 
button in my installer. My current approach is to publish multiple 
events from the button, like this:


  
Is_DirectX_9.0_Installed = "1" AND
Is_D3DX_October_2006_Installed = "1" AND
Is_DotNet_2.0_Installed = "1" AND
Is_Xna_1.0_Refresh_Installed = "1"
  
  
Is_DirectX_9.0_Installed <> "1" OR
Is_D3DX_October_2006_Installed <> "1" OR
Is_DotNet_2.0_Installed <> "1" OR
Is_Xna_1.0_Refresh_Installed <> "1"
  
  1
  1
  1
  1


However, the order the custom actions are executed in is relevant. They 
are executed in the order I wrote them, but I don't think WiX gives me 
any guarantee about that.

Is there another way to chain multiple custom actions to a button?

-Markus-


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Does all Vista OS's are same or different???

2008-02-18 Thread Markus Ewald
SaiTeja schrieb:
> Hi,
>
> I need one clarification. 
>
> Does all Vista OS's ( Vista Enter prise x64,Vista Enter prise x86, Vista
> Ultimate x64, Vista Ultimate x86, Vista Business x64 etc) are same or
> different?
>
> [...]
>
> What is the wrong here. Is the problem with Service/Virtual
> Image/OS/Installer 
>
> I am facing this problem since 20days, I didnt get the solution. Can any one
> give an ideas/suggestions
>   

The first and foremost thing you should do is find out _why_ it is 
failing. Only that might provide you with a clue as to what's going on.
- Check the event logs. Is there an error or a warning logged? I can't 
imagine the service just being /skipped/ silently, there must be 
something that prevents Vista from launching it.
- Modify your service so it writes a log file on startup, see how far it 
comes before logging stops
- If it always works when the service is started manually, maybe you've 
got a dependency on another service or a system resource which is only 
available at a later time.
- Configure the service to allow interaction with the desktop, put a 
message box right into the first line of code that runs and you can 
attach a debugger to the process to see what happens. You might not even 
need to install an IDE on that Vista box, eg. MSVC has a remote debugger 
you simply copy to the target machine that allows you to debug the 
process from another PC.

-Markus-


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Does all Vista OS's are same or different???

2008-02-18 Thread Markus Ewald
Guna S wrote:
> Hi, Thanks for your immediate resp.
>
> But I cant modify the service. Because we received components 
> including service.exe from my  client. Using those components, we are 
> developing installer. I just added wix code to deploy, start the 
> service(service control and service install) etc.
>
> Is there any other ways?
>
You don't need to modify the component to view the windows event logs. 
Some more suggestions:

- If nothing helps, use another service (eg. subversion svnserve, 
openvpn, anything) that is known to work and test whether your WiX code 
can install that.
- If the known service works, you've got to pull your client into the boat
- If the known service doesn't work, you can compare the final result 
left by _your_ installer with the result left behind by the official 
installer for the known service.
- If nothing helps, find a developer to write a dummy service for you 
that does logging output and debug using that.

> Thanks,
> Guna S
>
-Markus-


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users