Hello folks,

I have basically the same question as the guy here: 
http://stackoverflow.com/questions/10573135/wix-installer-how-can-i-get-setup-exes-current-directory

I have created a MSI where some Shortcuts for the Menu and the Desktop are 
created. They are created for applications, which are already installed and 
therefore are not part of my installation routine. The installer itself is 
located in the same directory. If I just test the MSI, then 
``Target="[SourceDir]Foo.exe"`` just works as expected. But when I embedd this 
MSI into a bundle built with burn, then [SourceDir] does not refer to the 
Directory, where the Installer is located. Instead it refers to 
"%TEMP%\{ProductID}\{Version}\Foo.exe". But I do not need this path but the one 
I get if I install the MSI directly.

As the Path is variable, I *must* be able to refer to the actual "starting" 
directory of the installer.exe. Can anyone provide a solution for that?


Greetings,


Mit freundlichen Grüßen

Christian Hausknecht
Entwicklung

BeraCom
Beratung und Software-Entwicklung GmbH & Co. KG
Weidestr. 134, 22083 Hamburg
T: +49 (0)40 547 241 - DW
F: +49 (0)40 547 241 - 60
M: chauskne...@beracom.de<mailto:chauskne...@beracom.de>
http://www.beracom.de

=============================================
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932
Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung 
GmbH
Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
Diese E-Mail ist vertraulich und exklusiv für den/die Adressaten bestimmt. 
Weiterleitung oder Kopieren, auch auszugsweise, darf nur mit ausdrücklicher 
schriftlicher Einwilligung des Absenders erfolgen. In jedem Fall ist 
sicherzustellen, dass keinerlei inhaltliche Veränderungen erfolgen. Der 
Absender ist von der Richtigkeit dieser Mail zum Zeitpunkt ihrer Erstellung 
überzeugt. Er und/oder sein Unternehmen übernimmt jedoch keine Haftung für ihre 
Richtigkeit.

------------------------------------------------------------------------------
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

Reply via email to