Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

makemsi · Build or Update MSI Databases

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 2977 - 3006 of 3053   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2977 From: Dennis Bareis <dbareis@...>
Date: Tue Oct 18, 2011 3:29 am
Subject: Re: Re: error installing a msi made by makemsi
dbareis
Send Email Send Email
 
Hi,

I just ran the msi you created in "MSIBuilds\ossec\out\OssecHIDS.MM\MSI" which I assume is the one you are having trouble with, lot of different directories so not sure:


In any case on my Windows 7 64 bit OS with UAC turned off, it worked fine, if I look at the add/remove info I can see your msi's entry plus the wrapped install "OSSEC HIDS 2.5.1", there is an option to hide that.

Anyway no issue here so if you can't install it it must be environmental.

Now if I try to uninstall the package then it does fail with a 1721 (uninstall.exe /S):

Action 14:13:02: WrapInstall1_U. Uninstalling: ossec-agent-win32-2.5.1.exe
MSI (s) (0C:94) [14:13:03:001]: Executing op: CustomActionSchedule(Action=WrapInstall1_U,ActionType=1058,Source=C:\Windows\SysWOW64\,Target="C:\Program Files (x86)\ossec-agent\uninstall.exe /S",)
MSI (s) (0C:94) [14:13:03:001]: Note: 1: 1721 2: WrapInstall1_U 3: C:\Windows\SysWOW64\ 4: "C:\Program Files (x86)\ossec-agent\uninstall.exe /S"

You should probably try setting the current directory "WorkDirU". In any case I just tried what you are doing myself (while dialog is still up):

C:\> cd C:\Windows\SysWOW64\

C:\Windows\SysWOW64> "C:\Program Files (x86)\ossec-agent\uninstall.exe /S"
The directory name is invalid.

Which is trueish... This is the faulty line in your code ("UninstallArgs" not used):

UNINSTALLEXE="[INSTALLDIR]uninstall.exe /S"

You are creating this as a framework for others?  The doco has me a bit confused.  If so I do not recommend changing ANY of the ".mmh" files that MAKEMSI installs:


Bye,
Dennis


On 18 October 2011 05:31, jason.youngquist  wrote:
>
>  
>
> Dennis,
>
> Tried it on XP, and still had the same issue. I sent you a private email with all of the files I've been working with zipped up.
>
> Thanks.
> Jason Youngquist
>

#2978 From: Dennis Bareis <dbareis@...>
Date: Thu Oct 20, 2011 6:37 am
Subject: Re: Shortcuts to Server
dbareis
Send Email Send Email
 
Hi,

I haven't got much time, I'm guessing that someone else will be able to do it.

Shortcuts are documented here: http://makemsi-manual.dennisbareis.com/shortcut.htm
It says don't use "Feature" if you don't want advertised.

This is an example of asking for data: http://makemsi-manual.dennisbareis.com/dialog.htm

You have now manually created the shortcutr and tested that this will work for you without firewall or permission issues etc? You may wish to create your own share: http://makemsi-manual.dennisbareis.com/share_creation.htm

If the server software was installed on the logon server then you may not have to prompt for the info as its readily available...


Bye,
Dennis

On 20 October 2011 04:15, Melvyn Rust wrote:
>
> I'm sorry to say that, despite your help, I haven't really made much progress.
> I attach the .MM file that I am currently using.
> Ideally I would like it to work as follows:
> 1. to prompt when you run it for the install location, which may be a server
> 2. to create shortcuts which can then be copied onto the pupils pcs
>
> Last time you told me that advertised shortcuts can't be copied but I can't work out from your examples how to create a non-advertised shortcut.
> Are you able to make those mods for me? How much would it cost? I seem to be wasting a lot of time when I could be writing new maths activities.


--
Dennis Bareis (dbareis@...):

http://dennisbareis.com

Freeware Windows Installer creation tool (+ "ORCA automation"):

http://makemsi.dennisbareis.com

#2979 From: "doug65536" <doug65536@...>
Date: Sat Nov 5, 2011 1:53 pm
Subject: This action ... has duplicate sequence number ... in the table
doug65536
Send Email Send Email
 
I get the following validation warnings when I build my MSI:

4>  ICE82        WARNING   This action
SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence
number 1 in the table InstallExecuteSequence
4>  ICE82        WARNING   This action
SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence
number 1 in the table InstallUISequence
4>  ICE82        WARNING   This action
SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence
number 3 in the table AdminExecuteSequence
4>  ICE82        WARNING   This action
SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence
number 1 in the table AdminUISequence
4>  ICE82        WARNING   This action
SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence
number 3 in the table AdvtExecuteSequence

(I think) The relevant part of my MM file is:

#if "<??*PROCESSORTYPE>" = "x64"
    <$MergeModule "<??*ProgramFiles(x86)>\Common Files\Merge
Modules\Microsoft_VC100_CRT_x64.msm">
#else
    <$MergeModule "<??*ProgramFiles(x86)>\Common Files\Merge
Modules\Microsoft_VC100_CRT_x86.msm">
#endif

It is at the root scope (not nested inside a component or anything). It
integrates the Visual Studio 2010 CRT redistributable merge module into the msi.

Because this warning coming from the official SDK merge module, I have no idea
where to begin to fix it myself.

What should I do so it will either ignore the warning (since it doesn't seem to
have any adverse effects besides my build having errors due to nonzero exit
codes) or fix it so it isn't a validation error.

I searched around and I have found a few wix messages about it but I have no
idea what any of the responses mean and none of them gave any actual information
about fixing it (as far as I could tell).

Thanks!

#2980 From: Dennis Bareis <dbareis@...>
Date: Sat Nov 5, 2011 9:18 pm
Subject: Re: This action ... has duplicate sequence number ... in the table
dbareis
Send Email Send Email
 
Hi,

On 6 November 2011 00:53, doug65536 <doug65536@...> wrote:

get the following validation warnings when I build my MSI:

4> ICE82 WARNING This action SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence number 1 in the table InstallExecuteSequence
4> ICE82 WARNING This action SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence number 1 in the table InstallUISequence
4> ICE82 WARNING This action SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence number 3 in the table AdminExecuteSequence
4> ICE82 WARNING This action SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence number 1 in the table AdminUISequence
4> ICE82 WARNING This action SystemFolder_x86_VC.AFA96EB4_FA9F_335C_A7CB_36079407553D has duplicate sequence number 3 in the table AdvtExecuteSequence


None of the above messages appear to indicate what they are duplicated with so if it we me I'd start by opening ORCA or similar (http://makemsi-manual.dennisbareis.com/orca.htm), sorting those tables by sequence number and working out what the pairs are.

I'm guessing that you haven't updated "AdminUISequence" so it is very likely to be a bug in the merge module and given that they are probably just initializing the "SystemFolder" information it may not matter if its out of order with whatever its clashing with.

Have you tried to remove any other code you have and just include the merge module just to eliminate any possible interaction with anything you are doing?
 


(I think) The relevant part of my MM file is:

#if "<??*PROCESSORTYPE>" = "x64"

This is a BUILD TIME choice you have made to build 32 or 64 bit msi?  Just checking...
 

Because this warning coming from the official SDK merge module, I have no idea where to begin to fix it myself.

What should I do so it will either ignore the warning (since it doesn't seem to have any adverse effects besides my build having errors due to nonzero exit codes) or fix it so it isn't a validation error.




I searched around and I have found a few wix messages about it but I have no idea what any of the responses mean and none of them gave any actual information about fixing it (as far as I could tell).

If WIX users get the same its much more likely to be a issue in the merge module

Hope that helps


--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2981 From: Dennis Bareis <dbareis@...>
Date: Sat Nov 19, 2011 4:10 am
Subject: Re: RegistryImport of RegAsm generated output with file:///
dbareis
Send Email Send Email
 
Hi,

On 17 November 2011 22:14, Brian Thomas wrote:
>
> We've been using MAKEMSI for years - it's really excellent.
>
> When I use regasm to create a .reg format file from a .NET assembly, the file
paths are formatted like this, with forward-slashes rather than back-slashes:
>
>     "CodeBase"="file:///C:/Program Files/kutana/Kappris/KSupport3.dll"
>
> When I use the r-click context menu option "Convert to MAKEMSI format", the
final RE4MM file has the string appearing unchanged, like this:
>
>     VALUE="file:///C:/Program Files/kutana/Kappris/KSupport3.dll"
>
> However, if I change the format of the CodeBase string like this:
>
>     "MoonBase"="C:\\Program Files\\kutana\\Kappris\\Support3.dll"
>
> then the conversion utility spots the 'C:\Program Files' string and replaces
it with a token:
>
>     VALUE="[ProgramFilesFolder]kutana\Kappris\Support3.dll"
>
> Is it reasonable to expect the utility to do the token replacement even in
strings that are formatted like my first example?

Probably not, but I have now made it possible for you to make it work,
have a look at the updated doco for "RegistryImport":

       http://makemsi-manual.dennisbareis.com/registryimport.htm

I'm uploading it now.  Let me know how that goes.

Bye

--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com

#2982 From: "Bareis, Dennis" <dbareis@...>
Date: Thu Dec 8, 2011 9:41 pm
Subject: RE: MAKEMSI 'TryMe.MM' fails - NTFS shortnames ARE turned off in the Windows Registry
dbareis
Send Email Send Email
 

Hi,


Well the error pretty much says it all:

Detected a Windows bug in the handling of the ".ShortName" attribute
of a file/folder object.  It doesn't contain a valid 8.3 formatted filename!

GOT 8.3  : "MAKEMSI Package Documentation"
The Issue: Base more than 8 characters long
4 File   : "C:\Documents and Settings\Crash-2009-06-03\Local Settings\Temp\MAKEMSI.TMP\MM83-64944\ProgramFilesFolder\MAKEMSI Package Documentation"

ERROR: NTFS shortnames ARE turned off in the Windows Registry...


It probably could be a bit more useful and tell you the actual registry value, however my diagnostic script does tell you when you run it (http://makemsi-manual.dennisbareis.com/general_scripts_tests.htm).

See: http://technet.microsoft.com/en-us/library/cc959352.aspx

Windows installers need 8.3 filenames so MAKEMSI needs to create them.  The samples are written assuming that its allowed (the default).  If you don't want to turn it off I'd create a virtual machine with it on and use MAKEMSI there or you can create your MAKEMSI scripts supplying 8.3 information for all filenames as MAKEMSI will only create them when you don't supply them.

Bye,
Dennis


--------------------------------------------------------------------------------
From: "Alphons Steves"
Date: Dec 9, 2011 4:14 AM
Subject: Error in MAKEMSI


Hi Dennis,

I downloaded your MAKEMSI, tried the 'TryMe.MM' and got an error.
Please view the attachment.
What's wrong?

Regards,
Alphons

 

 

"This e-mail and any attachments to it (the "Communication") is, unless otherwise stated, confidential,  may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Australia and New Zealand Banking Group Limited ABN 11 005 357 522, or any of its related entities including ANZ National Bank Limited (together "ANZ"). ANZ does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication."


#2983 From: Dennis Bareis <dbareis@...>
Date: Wed Jan 25, 2012 7:45 am
Subject: Re: MAKEMSI FeedBack
dbareis
Send Email Send Email
 
Hi,

On 25 January 2012 12:10, Tony McNamara wrote:

> One error I could really use help in, and improvement in the docs, is… I need to do some install-configuration in the install directory via Java executable JAR (called with ExeCa.)  Doing this with an immediate-mode executable works when UAC is off, but not when on.  Setting the execution to "deferred" does run, but results in a 1303 "installer has insufficient privileges" dialog.  The installer is not asking for permissions at installation start.

There are two main options (apart from what you have tried) for the "type" parameter and they are "system" and "Impersonate", for more detailed information you should read Microsoft's documentation (http://makemsi-manual.dennisbareis.com/msi_chm.htm).  Its also best to send to the group so you can potentially get other opinions than mine and get responses if I'm unavailable.

I'd also be looking closer at where you are placing the files and look at the file/folder permissions you'd need for that.



--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2984 From: Dennis Bareis <dbareis@...>
Date: Wed Feb 15, 2012 8:19 am
Subject: Re: Execute Batch File Custom Action, Wait for Completion
dbareis
Send Email Send Email
 
Hi,


On 15 February 2012 02:00, Mundwiler Thomas wrote:

> My source is this
>
> #(
>
>     ;--- Run after install, ignore return code and don't wait for completion ---
>
>    <$ExeCa
>              EXE='[TempFolder]Receiver13.cmd' Args=^"MsgBox Title" "MsgBox text..."^
>          WorkDir="TempFolder"
>              SEQ="InstallFinalize-"   Type="immediate ASync AnyRc"
>       Condition="<$CONDITION_INSTALL_ONLY>"
>    >
> #)
>
>
> I start the receiver13.cmd, 

Are you sure that it actually runs the batch file, you get some side effect you can confirm?  A batch file is not an executable so it needs to be run via one (CMD.EXE), have a look at: http://makemsi-manual.dennisbareis.com/batch_file_custom_actions.htm  (its possible Windows Installer will simply do this for you).


> but the msi close before the receiver13.cmd is finish. What make fault ???
> I like the msi wait to the receiver.cmd is finish.

As for waiting for it to complete as you have used "ASync" you have told MAKEMSI you want the exact opposite!  See the manual for more info.



> Have you’re a ide for me

:-)


Hope that helps,

--
Dennis Bareis (dbareis@...):
   http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
   http://makemsi.dennisbareis.com


#2985 From: "lin98666521" <672496008@...>
Date: Thu Feb 23, 2012 6:38 am
Subject: The code don't work,can you tell me how can i make my program have the Permissi?
lin98666521
Send Email Send Email
 
i want to run my program,but i have no Permissi.

i want to make my program can be used by everyone.

wh the code don' work?...

#(
   <$ExeCa
            EXE=^[SystemFolder]Cmd.exe^
           Args=^/c cacls "[DIR_NO_SLASH]" /T /E /C /P everyone:F^
      Condition=^<$CONDITION_INSTALL_ONLY>^
            Seq="InstallFiles-"
           Type="AnyRc Immediate"
   >
#)

#2986 From: Dennis Bareis <dbareis@...>
Date: Thu Feb 23, 2012 6:48 am
Subject: Re: The code don't work,can you tell me how can i make my program have the Permissi?
dbareis
Send Email Send Email
 
Hi,

With the information provided I can't help, someone else might be able to but I suggest you mention at least:

  • The operating system you are on
  • The directory you are trying to change
  • The error you are seeing (return code, text) 
I'm assuming the command is valid and works when you execute it from the command line.

It sounds like this is non critical as you are using "AnyRc", other than that have you tried deferred and the other documented privledge related options such as "System".

Bye,
Dennis

On 23 February 2012 17:38, lin98666521 <672496008@...> wrote:
 


i want to run my program,but i have no Permissi.

i want to make my program can be used by everyone.

wh the code don' work?...

#(
<$ExeCa
EXE=^[SystemFolder]Cmd.exe^
Args=^/c cacls "[DIR_NO_SLASH]" /T /E /C /P everyone:F^
Condition=^<$CONDITION_INSTALL_ONLY>^
Seq="InstallFiles-"
Type="AnyRc Immediate"
>
#)




--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2987 From: "lin98666521" <672496008@...>
Date: Thu Feb 23, 2012 7:17 am
Subject: Re: The code don't work,can you tell me how can i make my program have the Permissi?
lin98666521
Send Email Send Email
 
Hi,
i'm very glad to receive your reply.

i can provide more information.

>- The operating system you are on -- (window7 flagship Edition)
>- The directory you are trying to change (C:\Program Files\MyText)
>- The error you are seeing (return code, text) (i don't Notice)

thanks for your help.
i use your program from yesterday,i don't kown how to see the log.

if i Replace "[DIR_NO_SLASH]" with "C:\Program Files\MyText",the code can work
well,it can change the Permissions of the dir. i can run my program with guest
user.

or it don't work,i can run my program with administrator ,guest can't.

if the infomation i provide is not enough, i will see the Example to find where
What is wrong,and try my best to get more information.

thanks.

#(
<$ExeCa
EXE=^[SystemFolder]Cmd.exe^
Args=^/c cacls "[DIR_NO_SLASH]" /T /E /C /P everyone:F^
Condition=^<$CONDITION_INSTALL_ONLY>^
Seq="InstallFiles-"
Type="AnyRc Immediate"
  #)




--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi,
>
> With the information provided I can't help, someone else might be able to
> but I suggest you mention at least:
>
>
>    - The operating system you are on
>    - The directory you are trying to change
>    - The error you are seeing (return code, text)
>
> I'm assuming the command is valid and works when you execute it from the
> command line.
>
> It sounds like this is non critical as you are using "AnyRc", other than
> that have you tried deferred and the other documented privledge related
> options such as "System".
>
> Bye,
> Dennis
>
> On 23 February 2012 17:38, lin98666521 <672496008@...> wrote:
>
> > **
> >
> >
> >
> > i want to run my program,but i have no Permissi.
> >
> > i want to make my program can be used by everyone.
> >
> > wh the code don' work?...
> >
> > #(
> > <$ExeCa
> > EXE=^[SystemFolder]Cmd.exe^
> > Args=^/c cacls "[DIR_NO_SLASH]" /T /E /C /P everyone:F^
> > Condition=^<$CONDITION_INSTALL_ONLY>^
> > Seq="InstallFiles-"
> > Type="AnyRc Immediate"
> > >
> > #)
> >
> >
> >
>
>
>
> --
> Dennis Bareis (dbareis@...):
>
> http://dennisbareis.com
>
> Freeware Windows Installer creation tool (+ "ORCA automation"):
>
> http://makemsi.dennisbareis.com
>

#2988 From: Dennis Bareis <dbareis@...>
Date: Thu Feb 23, 2012 7:56 am
Subject: Re: Re: The code don't work,can you tell me how can i make my program have the Permissi?
dbareis
Send Email Send Email
 
Hi,

On 23 February 2012 18:17, lin98666521 <672496008@...> wrote:

hanks for your help.
i use your program from yesterday,i don't kown how to see the log.


 


if i Replace "[DIR_NO_SLASH]" with "C:\Program Files\MyText",the code can work well,it can change the Permissions of the dir. i can run my program with guest user.


Sounds like an error in your definition of "DIR_NO_SLASH". The log above should confirm.

Bye,
Dennis

--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2989 From: "lin98666521" <672496008@...>
Date: Thu Feb 23, 2012 8:50 am
Subject: Re: The code don't work,can you tell me how can i make my program have the Permissi?
lin98666521
Send Email Send Email
 
> Sounds like an error in your definition of "DIR_NO_SLASH". The log

[DIR_NO_SLASH]

i replace "Type="AnyRc Immediate" with "Rc0,Immediate",i get the code of Command
line.

i find that i don't define DIR_NO_SLASH,so i use your example named "Example #1
- VBSCRIPT",on my computer it can work well,but on other computer it will return
error code 2738.(Could not access VBScript runtime for custom action [2]).

Do you have a universal way to get the path of direct not end with "\"?

#2990 From: Dennis Bareis <dbareis@...>
Date: Thu Feb 23, 2012 9:06 am
Subject: Re: Re: The code don't work,can you tell me how can i make my program have the Permissi?
dbareis
Send Email Send Email
 
Hi,

On 23 February 2012 19:50, lin98666521 <672496008@...> wrote:
 

i replace "Type="AnyRc Immediate" with "Rc0,Immediate",i get the code of Command line. 

i find that i don't define DIR_NO_SLASH,so i use your example named "Example #1 - VBSCRIPT",on my computer it can work well,but on other computer it will return error code 2738.(Could not access VBScript runtime for custom action [2]).

Not even going to try to guess on which page that example exists.

Re "DIR_NO_SLASH", not point using it if you don't define it. I assume calcs fails if you have the slash, have you tried ending it with "." for current directory? That should solve the issue without needing to remove the trailing slash...

2738 doco says: This error is caused by a custom action that is based on Dynamic-Link Libraries. When trouble-shooting the DLL you may need to use one or more of the tools described in KB198038.  I'd look at other causes like anti-virus checker activity.




 

Do you have a universal way to get the path of direct not end with "\"?





-- 
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2991 From: "lin98666521" <672496008@...>
Date: Fri Feb 24, 2012 3:33 am
Subject: Re: The code don't work,can you tell me how can i make my program have the Permissi?
lin98666521
Send Email Send Email
 
hi

thank you very much.

i do that like you tell me.

"[INSTALLDIR]."  it work well.

thank you again;

#2992 From: "RobotR" <robotryder@...>
Date: Sat Mar 10, 2012 7:08 pm
Subject: "Explorer Extensions" vanished!
robotryder
Send Email Send Email
 
My explorer right-click short-cuts for Build <Dev|Production> and other stuff
are gone.  Rebooting and running "Repair" on the MSI didn't bring them back. 
Any ideas?

#2993 From: Dennis Bareis <dbareis@...>
Date: Sat Mar 10, 2012 9:12 pm
Subject: Re: "Explorer Extensions" vanished!
dbareis
Send Email Send Email
 
Hi


Bye,
Dennis

On 11 March 2012 06:08, RobotR <robotryder@...> wrote:
 

My explorer right-click short-cuts for Build <Dev|Production> and other stuff are gone. Rebooting and running "Repair" on the MSI didn't bring them back. Any ideas?


--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2994 From: "RobotR" <robotryder@...>
Date: Sat Mar 10, 2012 11:49 pm
Subject: Re: "Explorer Extensions" vanished!
robotryder
Send Email Send Email
 
Thanks.  I did read that and that's why I explicitly mentioned that I had both
rebooted and reinstalled.

Trouble is, windows 7 doesn't have that menu either, and I'm not sure what the
defaults were.  Win7 only provides a UI for setting the Edit, even though
arbitrary commands are still supported via the Registry.

So...

Where do I find those registry settings or how do I FORCE them to get rewritten?

Thanks.

--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi
>
> See documentation at:  http://makemsi-manual.dennisbareis.com/build_msi.htm
>
> Bye,
> Dennis
>
> On 11 March 2012 06:08, RobotR <robotryder@...> wrote:
>
> > **
> >
> >
> > My explorer right-click short-cuts for Build <Dev|Production> and other
> > stuff are gone. Rebooting and running "Repair" on the MSI didn't bring them
> > back. Any ideas?
> >
> >
> --
> Dennis Bareis (dbareis@...):
>
> http://dennisbareis.com
>
> Freeware Windows Installer creation tool (+ "ORCA automation"):
>
> http://makemsi.dennisbareis.com
>

#2995 From: "RobotR" <robotryder@...>
Date: Sun Mar 11, 2012 12:00 am
Subject: Is it possible to retrieve return code of ExeCA?
robotryder
Send Email Send Email
 
Hello.  I want to run EXECA to determine if Java is installed and the correct
version, and handle it a bit gracefully.

What I see is I can do this with, e.g.

<$ExeCa
    EXE="java.exe"
    Args=^"-version:1.6+" "-version"^
    Condition="<$CONDITION_INSTALL_ONLY>"
    Seq="CostFinalize-"
    Type="Immediate System"
>

And this does handle it... but not gracefully.  I get an error - either 1721 if
no Java is found or 1722 if the RC is 1 (bad version).  And then I can
redocument that error in my Company.MM file.  But it's a fatal error.

Is there any way to set a property based on the return code instead?  I could
then use AbortIf to kill it if desired.

Thanks

#2996 From: Dennis Bareis <dbareis@...>
Date: Sun Mar 11, 2012 7:17 am
Subject: Re: Re: "Explorer Extensions" vanished!
dbareis
Send Email Send Email
 
Hi,


NirSoft tools tend to be good so I'd probably try this first: http://www.nirsoft.net/utils/file_types_manager.html

Bye,
Dennis

On 11 March 2012 10:49, RobotR <robotryder@...> wrote:
 

Thanks. I did read that and that's why I explicitly mentioned that I had both rebooted and reinstalled.

Trouble is, windows 7 doesn't have that menu either, and I'm not sure what the defaults were. Win7 only provides a UI for setting the Edit, even though arbitrary commands are still supported via the Registry.

So...

Where do I find those registry settings or how do I FORCE them to get rewritten?

Thanks.



--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi
>
> See documentation at: http://makemsi-manual.dennisbareis.com/build_msi.htm
>
> Bye,
> Dennis
>
> On 11 March 2012 06:08, RobotR <robotryder@...> wrote:
>
> > **

> >
> >
> > My explorer right-click short-cuts for Build <Dev|Production> and other
> > stuff are gone. Rebooting and running "Repair" on the MSI didn't bring them
> > back. Any ideas?
> >
> >
> --
> Dennis Bareis (dbareis@...):

>
> http://dennisbareis.com
>
> Freeware Windows Installer creation tool (+ "ORCA automation"):
>
> http://makemsi.dennisbareis.com
>




--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2997 From: Dennis Bareis <dbareis@...>
Date: Sun Mar 11, 2012 7:25 am
Subject: Re: Is it possible to retrieve return code of ExeCA?
dbareis
Send Email Send Email
 
Hi,

I suppose it depends on what you are trying to do, you can find a version of java.exe that meets your requirements using "FileFind" (http://makemsi-manual.dennisbareis.com/filefind.htm). You can decide not to abort if you don't find it or determine the error message thats displayed.

How to tell if thats the one you'd pick up by default searching the path as you are I don't know...  You other alterantives are to write something that does what you want with script for example.  There may be better ways, if so hopefully someone will mention what they are :-)

Bye,
Dennis



On 11 March 2012 11:00, RobotR <robotryder@...> wrote:
 

Hello. I want to run EXECA to determine if Java is installed and the correct version, and handle it a bit gracefully.

What I see is I can do this with, e.g.

<$ExeCa
EXE="java.exe"
Args=^"-version:1.6+" "-version"^
Condition="<$CONDITION_INSTALL_ONLY>"
Seq="CostFinalize-"
Type="Immediate System"
>

And this does handle it... but not gracefully. I get an error - either 1721 if no Java is found or 1722 if the RC is 1 (bad version). And then I can redocument that error in my Company.MM file. But it's a fatal error.

Is there any way to set a property based on the return code instead? I could then use AbortIf to kill it if desired.

Thanks




--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#2998 From: "RobotR" <robotryder@...>
Date: Tue Mar 13, 2012 10:00 pm
Subject: Re: Is it possible to retrieve return code of ExeCA?
robotryder
Send Email Send Email
 
I appreciate the answer.  Let me try the question differently.

I want to run an executable as a pre-install check and BRANCH based on the
return code.  What I am seeing is that MSI generates an error if the return code
is 1, rather than allowing my script to handle that.

Can I catch, and yet still process, a case where the executable may give a
return code of either 0 or 1, rather than having MSI run the error handler?

Thanks

--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi,
>
> I suppose it depends on what you are trying to do, you can find a version
> of java.exe that meets your requirements using "FileFind" (
> http://makemsi-manual.dennisbareis.com/filefind.htm). You can decide not to
> abort if you don't find it or determine the error message thats displayed.
>
> How to tell if thats the one you'd pick up by default searching the path as
> you are I don't know...  You other alterantives are to write something that
> does what you want with script for example.  There may be better ways, if
> so hopefully someone will mention what they are :-)
>
> Bye,
> Dennis
>
>
>
> On 11 March 2012 11:00, RobotR <robotryder@...> wrote:
>
> > **
> >
> >
> > Hello. I want to run EXECA to determine if Java is installed and the
> > correct version, and handle it a bit gracefully.
> >
> > What I see is I can do this with, e.g.
> >
> > <$ExeCa
> > EXE="java.exe"
> > Args=^"-version:1.6+" "-version"^
> > Condition="<$CONDITION_INSTALL_ONLY>"
> > Seq="CostFinalize-"
> > Type="Immediate System"
> > >
> >
> > And this does handle it... but not gracefully. I get an error - either
> > 1721 if no Java is found or 1722 if the RC is 1 (bad version). And then I
> > can redocument that error in my Company.MM file. But it's a fatal error.
> >
> > Is there any way to set a property based on the return code instead? I
> > could then use AbortIf to kill it if desired.
> >
> > Thanks
> >
> >
> >
>
>
>
> --
> Dennis Bareis (dbareis@...):
>
> http://dennisbareis.com
>
> Freeware Windows Installer creation tool (+ "ORCA automation"):
>
> http://makemsi.dennisbareis.com
>

#2999 From: Dennis Bareis <dbareis@...>
Date: Wed Mar 14, 2012 6:27 am
Subject: Re: Re: Is it possible to retrieve return code of ExeCA?
dbareis
Send Email Send Email
 
Hi,

On 14 March 2012 09:00, RobotR <robotryder@...> wrote:

I want to run an executable as a pre-install check and BRANCH based on the return code. What I am seeing is that MSI generates an error if the return code is 1, rather than allowing my script to handle that.

Can I catch, and yet still process, a case where the executable may give a return code of either 0 or 1, rather than having MSI run the error handler?


Not sure where to go if you didn't like my last email.  The simplest (minimalist script) solution would execute the EXE ("java.exe") and put the return code into a variable (property) which you could then test.

#3000 From: "clydenewbury@..." <clydenewbury@...>
Date: Tue Mar 20, 2012 2:09 pm
Subject: 'MM.CMD' is not recognized as an internal or external command,
clydenewbury...
Send Email Send Email
 
I use Visual Studio 6, C++, and MakeMsi for our production development.  My
collegues have no problem when doing a production build.  Every time I do a
production build I get the 'MM.CMD' is not recognized as an internal or external
command, error message in the command window.  I can execute the individual .MM
script files to build in production mode but cannot get the Visual Studio build
command to work.  I am running in Windows XP Professional.

Any ideas?

#3001 From: Dennis Bareis <dbareis@...>
Date: Wed Mar 21, 2012 7:15 am
Subject: Re: 'MM.CMD' is not recognized as an internal or external command,
dbareis
Send Email Send Email
 
Hi,

On 21 March 2012 01:09, clydenewbury@... <clydenewbury@...> wrote:
 

I use Visual Studio 6, C++, and MakeMsi for our production development. My collegues have no problem when doing a production build.


They are using the same source code? 

Every time I do a production build I get the 'MM.CMD' is not recognized as an internal or external command, error message in the command window. I can execute the individual .MM script files to build in production mode but cannot get the Visual Studio build command to work. I am running in Windows XP Professional.

So via explorer (and/or command prompt) you can get it to work? I was going to suggest you try that.  

If you haven't tried yet type MM.CMD in at a command prompt. The MAKEMSI directory should be in the path so you could have some sort of PATH environment truncation/corruption or you simply haven't booted since installing MAKEMSI.

If "MM.CMD" runs from a command prompt then I'd guess that it's different source and you should have a closer look at the others.

 Hope that helps,


--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#3002 From: "Clyde Newbury" <clydenewbury@...>
Date: Wed Mar 21, 2012 11:30 am
Subject: RE: 'MM.CMD' is not recognized as an internal or external command,
clydenewbury...
Send Email Send Email
 

We all use the same installation of Visual Studio 6 and the same MakeMsi.  We are all on different physical computers but they are all running Windows XP professional.  I can type in MM.CMD from a command prompt window and it gives me the message that the parameters are missing but that is from the MM.CMD script.  I have checked the path and even put the MakeMsi directory as the first entry in the path.  It still has the same MM.CMD is not recognized error.  I think it has something to do with the long names for files and the cmd.exe parser but I don’t know any work around for that.

 

From: makemsi@yahoogroups.com [mailto:makemsi@yahoogroups.com] On Behalf Of Dennis Bareis
Sent: Wednesday, March 21, 2012 3:16 AM
To: makemsi@yahoogroups.com
Subject: Re: [makemsi] 'MM.CMD' is not recognized as an internal or external command,

 

 

Hi,

On 21 March 2012 01:09, clydenewbury@... <clydenewbury@...> wrote:

 

I use Visual Studio 6, C++, and MakeMsi for our production development. My collegues have no problem when doing a production build.

 

They are using the same source code? 

Every time I do a production build I get the 'MM.CMD' is not recognized as an internal or external command, error message in the command window. I can execute the individual .MM script files to build in production mode but cannot get the Visual Studio build command to work. I am running in Windows XP Professional.

So via explorer (and/or command prompt) you can get it to work? I was going to suggest you try that.  

 

If you haven't tried yet type MM.CMD in at a command prompt. The MAKEMSI directory should be in the path so you could have some sort of PATH environment truncation/corruption or you simply haven't booted since installing MAKEMSI.

 

If "MM.CMD" runs from a command prompt then I'd guess that it's different source and you should have a closer look at the others.

 

 Hope that helps,

 

 

--
Dennis Bareis (dbareis@...):

http://dennisbareis.com

Freeware Windows Installer creation tool (+ "ORCA automation"):

http://makemsi.dennisbareis.com

 


#3003 From: Dennis Bareis <dbareis@...>
Date: Wed Mar 21, 2012 10:24 pm
Subject: RE: 'MM.CMD' is not recognized as an internal or external command,
dbareis
Send Email Send Email
 

Hi

On Mar 22, 2012 9:12 AM, "Clyde Newbury" <clydenewbury@...> wrote:
>
>
> We all use the same installation of Visual Studio 6 and the same MakeMsi. 

I don't use vs6 but I assume the MAKEMSI integration is faulty, are you using the same as the others or did you need to configure that yourself?

The windows shell has weird rules, is mm.CMD double quoted? Try the opposite.

In any case that it's what we need more info on.

Sounds like your path is ok, unless vs6 overrides it somehow . Don't think long filenames is a likely cause.

bye


#3004 From: "RobotR" <robotryder@...>
Date: Tue Apr 3, 2012 1:10 am
Subject: Re: Is it possible to retrieve return code of ExeCA?
robotryder
Send Email Send Email
 
Heya.  I suspect the problem is that I don't have a good understanding of how to
use a condition.  I've scoured the documentation, but it's eluding me.

I do get how to make a test that creates an error condition.  All I want to do
now is make a test that simply branches... or only does a subroutine if the test
passes (or fails.)

For example, my custom action succeeds or fails based on the presence of an
adequate version of java.  If it fails, it goes to the error message table. 
What I want it to go is then check for  the environment contains the variable
"programw6432"... and pop up an appropriate message (about 32-bit or 64-bit
Java) based on that.

I think you're telling me how to do it, but I'm not able to figure out the
"test" portion of the result.

Thanks.

--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi,
>
> On 14 March 2012 09:00, RobotR <robotryder@...> wrote:
> >
> >  I want to run an executable as a pre-install check and BRANCH based on
> > the return code. What I am seeing is that MSI generates an error if the
> > return code is 1, rather than allowing my script to handle that.
> >
> > Can I catch, and yet still process, a case where the executable may give a
> > return code of either 0 or 1, rather than having MSI run the error handler?
> >
> >
> Not sure where to go if you didn't like my last email.  The simplest
> (minimalist script) solution would execute the EXE ("java.exe") and put the
> return code into a variable (property) which you could then test.
>

#3005 From: Dennis Bareis <dbareis@...>
Date: Tue Apr 3, 2012 3:33 am
Subject: Re: Re: Is it possible to retrieve return code of ExeCA?
dbareis
Send Email Send Email
 
Hi,

Windows Installer (stupidly) doesn't have any mechanism for capturing return codes, that means that the "ExeCa" command also doesn't.

If the return code needs to be captured then you need to write a custom action (http://makemsi-manual.dennisbareis.com/custom_actions.htm).

If you were to write a custom action (CA) you would probably decide to build more intelligence in, either way you would return some sort of return information if you wanted to vary behaviour outside of this CA.

If you look at any scheduled CA  it takes a condition under which it should be executed, this is how you alter flow ("if then").

To write a CA in VBSCRIPT see: http://makemsi-manual.dennisbareis.com/vbsca.htm

It sounds like it could all be done in one CA (so no external conditions etc, perhaps), this function could abort the install: http://makemsi-manual.dennisbareis.com/vbscaraiseerror.htm

Hope that helps this time :-)
Dennis


On 3 April 2012 11:10, RobotR <robotryder@...> wrote:
 

Heya. I suspect the problem is that I don't have a good understanding of how to use a condition. I've scoured the documentation, but it's eluding me.

I do get how to make a test that creates an error condition. All I want to do now is make a test that simply branches... or only does a subroutine if the test passes (or fails.)

For example, my custom action succeeds or fails based on the presence of an adequate version of java. If it fails, it goes to the error message table. What I want it to go is then check for the environment contains the variable "programw6432"... and pop up an appropriate message (about 32-bit or 64-bit Java) based on that.

I think you're telling me how to do it, but I'm not able to figure out the "test" portion of the result.

Thanks.



--- In makemsi@yahoogroups.com, Dennis Bareis <dbareis@...> wrote:
>
> Hi,

>
> On 14 March 2012 09:00, RobotR <robotryder@...> wrote:
> >
> > I want to run an executable as a pre-install check and BRANCH based on
> > the return code. What I am seeing is that MSI generates an error if the
> > return code is 1, rather than allowing my script to handle that.
> >
> > Can I catch, and yet still process, a case where the executable may give a
> > return code of either 0 or 1, rather than having MSI run the error handler?
> >
> >
> Not sure where to go if you didn't like my last email. The simplest
> (minimalist script) solution would execute the EXE ("java.exe") and put the
> return code into a variable (property) which you could then test.
>


--
Dennis Bareis (dbareis@...):
http://dennisbareis.com
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com


#3006 From: "RobotR" <robotryder@...>
Date: Mon Apr 16, 2012 12:40 am
Subject: Re: Is it possible to retrieve return code of ExeCA?
robotryder
Send Email Send Email
 
Thanks, Dennis.  Knowing that it can't be done using the stock MSI commands was
a big help.  I've built a tiny executable that does the various checks I need
and pops up a much more useful set of errors in a dialog if such an error is
found, and then returns 1 on any error to ExeCA.  This seems to be doing as
desired.

Those flags can be tricky.  For any lurker who run into this (and Dennis, if
they're sub-optimal, please feel free to correct them), my flags are:

  SEQ="<-InstallFinalize"
  Type="Deferred System Sync Rc0"

Messages 2977 - 3006 of 3053   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help