I'm using setup.exe and setupbld.exe (from %WixProramFolder%\bin)to make a bootstrapper for my installer. Everything is ok except: I want to get current directory of setup.exe but:
When I use property "CURRENTDIRECTORY", I will get wrong value if I run command line in cmd.exe: "C:>"D:\setup.exe"". "CURRENTDIRECTORY" is "C:\" but "D:\" is true.
When I use property "SOURCEDIR", setup.exe will extract setup.msi to "%Temp%{ProductID}\setup.msi" and "SOURCEDIR" is "%Temp%{ProductID}\" but expected is "D:\"
Anybody can help me? It make me headache this time :-( Sorry about my English.