[WiX-users] CustomAction fails on Vista, despite Impersonate="no"

2007-03-17 Thread Michael Sperber

My installer, which works fine on XP, fails on Vista with "access
denied" messages.  It happens during a CustomAction which looks like
this:



The batch file invoked from the CustomAction seems to fail on echo'ing
to a file in the installation directory.  (I'm unclear what a
CustomAction with Impersonate="no" can actually do, and if there are
any restrictions.)

Ideas, anyone?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem after WiX upgrade

2007-02-26 Thread Michael Sperber

Some more info on my problems:

- The log file of "msiexec /i" shows this:

MSI (c) (C8:AC) [15:57:48:335]: Machine policy value 'Debug' is 0
MSI (c) (C8:AC) [15:57:48:335]: *** RunEngine:
   *** Product: scheme48.msi
   *** Action: 
   *** CommandLine: **

... and then later:

Action 15:57:59: ExecuteAction. 
Action start 15:57:59: ExecuteAction.
MSI (c) (C8:AC) [15:57:59:000]: PROPERTY CHANGE: Adding SECONDSEQUENCE 
property. Its value is '1'.
MSI (c) (C8:AC) [15:57:59:000]: Grabbed execution mutex.
MSI (c) (C8:AC) [15:57:59:000]: Incrementing counter to disable shutdown. 
Counter after increment: 0
MSI (c) (C8:AC) [15:57:59:000]: Switching to server: 
INSTALLDIR="c:\Programme\Scheme 48\Scheme 48 1.6\" TARGETDIR="c:\" ALLUSERS="1" 
ROOTDRIVE="c:\" CURRENTDIRECTORY="c:\Dokumente und Einstellungen\Michael 
Sperber\soft\s48-rk-windows" CLIENTUILEVEL="0" CLIENTPROCESSID="2504" 
USERNAME="Michael Sperber" COMPANYNAME="DeinProgramm" SOURCEDIR="c:\Dokumente 
und Einstellungen\Michael Sperber\soft\s48-rk-windows\" ACTION="INSTALL" 
EXECUTEACTION="INSTALL" SECONDSEQUENCE="1"  ADDLOCAL=Complete  
MSI (s) (30:D0) [15:57:59:050]: Grabbed execution mutex.
MSI (s) (30:54) [15:57:59:050]: Resetting cached policy values
MSI (s) (30:54) [15:57:59:050]: Machine policy value 'Debug' is 0
MSI (s) (30:54) [15:57:59:050]: *** RunEngine:
   *** Product: c:\Dokumente und Einstellungen\Michael 
Sperber\soft\s48-rk-windows\scheme48.msi
   *** Action: INSTALL
   *** CommandLine: **

I'm not sure if it's normal that "RunEngine" is in there twice.

Also, I've now gotten to the point where the installation completes,
but at the end, a cmd window pops open, with no apparent
cause for it.  However, this CustomAction seems to be responsible---if
I delete it, the cmd window does come up:



Ideas?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem after WiX upgrade

2007-02-25 Thread Michael Sperber

Hi,

I'm a very casual WiX (and Windows) user.  Forgive me if this is a
trivial question.  After switching to a new machine and upgrading to
WiX 2.0.4820.0 (from an about-2-year-old version of WiX), I have two
problems I didn't have before:

Installing the .msi file also pops up the dialog explaining msiexec's
command line options: Looking at the task manager, a second instance
of msiexec seems to have started.

Also, a CustomAction that previously worked:





... now hangs.  The cmd.exe window pops up, but no output.

Any help would be much appreciated!

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Michael Sperber

Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes:

> Then you should replace Property="INSTALLDIR" with
> Directory="INSTALLDIR", resulting in custom action type 34.
> 

Ah, great, that works.  Thanks!  I was poring over the docs trying to
understand the difference between types 34 and 50, and just couldn't
figure it out.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Michael Sperber

"Rob MacFadyen" <[EMAIL PROTECTED]> writes:

> As a guess... the /c switch argument "/c build\build-usual-image.bat"
> doesn't specify a fully qualified path and cmd.exe is probably having
> problems locating it.

But doesn't Property="INSTALLDIR" specify that the working directory
is INSTALLDIR?  The path is relative to that.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Michael Sperber

I'm a casual WiX user, so please forgive me if this is really
trivial.  I did try searching the documentation and the mailing list
for help, but couldn't find any:

I'm shipping a batch file with my .msi that I need to run with the
/v:off flag to cmd.exe.  This is what I have:



The idea is to have the pwd be INSTALLDIR and then run cmd.exe as in
the command line.

However, all I ever get is this:

MSI (s) (8C:38) [19:01:40:302]: Note: 1: 1721 2: build_usual_image 3: 
c:\Programme\Scheme 48\Scheme 48 1.4T\ 4: C:\WINDOWS\system32\cmd.exe /v:off /c 
build\build-usual-image.bat "c:\Programme\Scheme 48\Scheme 48 1.4T\" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\scheme" "c:\Programme\Scheme 48\Scheme 
48 1.4T\scheme48.image" "c:\Programme\Scheme 48\Scheme 48 1.4T\scheme48vm.exe" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\build\initial.image" 
Error 1721. There is a problem with this Windows Installer package. A program 
required for this install to complete could not be run. Contact your support 
personnel or package vendor. Action: build_usual_image, location: 
c:\Programme\Scheme 48\Scheme 48 1.4T\, command: C:\WINDOWS\system32\cmd.exe 
/v:off /c build\build-usual-image.bat "c:\Programme\Scheme 48\Scheme 48 1.4T\" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\scheme" "c:\Programme\Scheme 48\Scheme 
48 1.4T\scheme48.image" "c:\Programme\Scheme 48\Scheme 48 1.4T\scheme48vm.exe" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\build\initial.image" 
MSI (s) (8C:38) [19:01:42:205]: Product: Scheme 48 1.4T -- Error 1721. There is 
a problem with this Windows Installer package. A program required for this 
install to complete could not be run. Contact your support personnel or package 
vendor. Action: build_usual_image, location: c:\Programme\Scheme 48\Scheme 48 
1.4T\, command: C:\WINDOWS\system32\cmd.exe /v:off /c 
build\build-usual-image.bat "c:\Programme\Scheme 48\Scheme 48 1.4T\" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\scheme" "c:\Programme\Scheme 48\Scheme 
48 1.4T\scheme48.image" "c:\Programme\Scheme 48\Scheme 48 1.4T\scheme48vm.exe" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\build\initial.image" 

Any help would be much appreciated.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users