ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mackley" <Aaron.Mack...@dtint.com>
Subject RE: insert .reg files
Date Fri, 03 Sep 2010 22:42:14 GMT
I found the solution. I needed to enter the cmd and then the reg path. 

Of course I also need to make not require confirmation, but that's fairly simple.

		<exec executable="cmd ${cacheSource.dir}\odbcCacheInstrINI.reg"/>

Aaron Mackley   |  QA Engineering  |  Digital Technology International   | 801-853-5000  |
 aaron.mackley@dtint.com
Transform profitably with our new Targeted Audience Solutions and DTI Cloud. Get started at
www.dtint.com.

-----Original Message-----
From: Aaron Mackley [mailto:Aaron.Mackley@dtint.com] 
Sent: Friday, September 03, 2010 4:28 PM
To: Ant Users List
Subject: RE: insert .reg files

Hello Vimil,

Thanks foryour response.

I had thought so as well, but it returned this error:

C:\Ant\cacheInstall.xml:116: Execute failed: java.io.IOException: Cannot run pro
gram "appInstallers\CacheODBCDriver\odbcCacheInstrINI.reg": CreateProcess error=
193, %1 is not a valid Win32 application, 

So I'm trying to find another way. 

Aaron Mackley   |  QA Engineering  |  Digital Technology International   | 801-853-5000  |
 aaron.mackley@dtint.com
Transform profitably with our new Targeted Audience Solutions and DTI Cloud. Get started at
www.dtint.com.

-----Original Message-----
From: Vimil Saju [mailto:vimilsaju@yahoo.com] 
Sent: Friday, September 03, 2010 3:58 PM
To: Ant Users List
Subject: Re: insert .reg files

I think you could use the exec task to execute the command that you normally use on the command
prompt to import the .reg file into the registry

--- On Fri, 9/3/10, Aaron Mackley <Aaron.Mackley@dtint.com> wrote:

From: Aaron Mackley <Aaron.Mackley@dtint.com>
Subject: insert .reg files
To: user@ant.apache.org
Date: Friday, September 3, 2010, 2:47 PM

Is there a simply way to "execute" a .reg file using ANT. I understand
there is a plugin called orangevolt that allows one to edit the
registry. I only want to install a .reg file.

 

 

 

Aaron Mackley   |  QA Engineering  |  Digital Technology International
| 801-853-5000  |  aaron.mackley@dtint.com
<mailto:aaron.mackley@dtint.com> 

Transform profitably with our new Targeted Audience Solutions and DTI
Cloud. Get started at www.dtint.com
<file:///C:\Documents%20and%20Settings\amackley\Application%20Data\Micro
soft\Signatures\www.dtint.com> .




      

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message