Use of installer-desc tag and the ExtensionInstallerService of the jnlp

I have an application where, the properties file is outside the jar file. Each client machine has it's own copy of properties file. At some instances the user has to update the properties file ( to him it's a config file). This is ok with the system when i was not using Web start. Now with web start, i want to give the properties file to the user along with the download. ie. I don't want to post it explicitly, it should go with the installation(ie. download), but place it on a specified location on the client machine. I've seen the <installer-desc> tag, where i've seen there's someother jnlp file also related to the main jnlp file. I couldn't get the correlation. Can anybody help me giving me some info. about <installer-desc> and the ExtensionInstallerService of the javax.jnlp package. Please!! it's very urgent.
Thanks
Aparna

As you have proberbly seen, I have a problem with the return from a <installer-desc> but here is how I did it.
main.jnlp
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="file or url goes here" >
<information>
<title>Main launcher title</title>
<vendor>Company name</vendor>
<offline/>
</information>
<resources>
<j2se version="1.2+" />
<extension
name="Native installer"
href="native.jnlp">
</extension>
<jar href="main.jar" main="true"/>
</resources>
<application-desc main-class="unic.app.launch"/>
</jnlp>
native.jnlp
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="file or url goes here/">
<information>
<title>Native installation</title>
<vendor>Company name</vendor>
<offline/>
</information>
<resources>
<j2se version="1.2+" />
<jar href="native.jar" main="true"/>
</resources>
<installer-desc main-class="unic.native.install" />
</jnlp>
unic.native.install makes all connections with the ExtensionInstallerService (progressbar/heading/status) and installs native stuff. Works all fine, but when all is installSucceeded(false), JWS shows the error "Installation failed" ?? Don't see why..

Similar Messages

  • PLEASE help!! I use Outlook for my email and the Mail App Icon in my dock was also storing all my emails. So, I tried to delete ONLY the emails in the Mail App but somehow (under Preferences maybe?) I also deleted all my emails in my Outlook inbox.

    PLEASE help!! I use Outlook for my email and the Mail App Icon that is in my dock, that I know nothing about, was also storing all my emails. So, I tried to delete ONLY the emails in the Mail App but somehow (under Preferences maybe?) I also deleted ALL my OUTLOOK emails in my inbox.  Can someone please please tell me if there is a way to get my Outlook inbox emails back OR EVEN the emails that were in my Mail app - because even tho I never use the Mail app, at least the emails would be there.
    When I was trying to delete the emails in my inbox for the Mail app - I followed THESE directions.  It did in fact clear my inbox for the Mail app.  But then I went to log on to my Outlook account and EVERY SINGLE EMAIL was gone.  And not in the Deleted box.  Just gone.  Here are the directions I followed that screwed everything up.  Please help.
    Top menu bar, Mail > Preferences > Accounts > Mailbox Behaviors.
    Uncheck "Store deleted messages on the server".
    At the drop list for "Permanently erase deleted messages when", choose "Quitting Mail".
    Next...
    Top menu bar, Mail > Preferences > General.
    At "When searching all mailboxes, include results from", uncheck "Trash".
    Select All = command A

    i found out my prob!
    here is what you do.
    go to the "system preferences" on your dock.
    click "software updates".
    click "installed software"
    if it shows something about a recent update about "EFI UPDATE, FIRMWARE, THUNDERBOLT" or anything like that, exit out of it.
    go to mail.
    click "mail" at the top.
    click "preferences...".
    find the account you are having trouble with, once you do, make sure its highlighted, then click the "-" at the bottom of the window (this will only effect that mail account, it will not effect your ical weather or not its synced thought that email account)
    hit the "+" (right next to the "-") and add your accout back!
    its something with that update that effected mail, i hope this works out for you, if not reply back

  • I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    Welcome to the Apple community.
    Could you tell us a little more about what you want to do. Bear in mind that iTunes has nothing to do with your iCloud account.

  • I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS  without formatting it so that I can use it for Time Machine and the like?

    I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS  without formatting it so that I can use it for Time Machine and the like?

    There aren't any 3rd party apps or anything. I use PC's and Mac's at school and the only computer connected to a printer at my house is a PC so i need access to both

  • I'm using 4th gen IPOD touch and the wifi can't connect to my home NTWK, it sends me to a far distant IP ADDRESS and can't connect. a building public NTWK is wifi connectable

    http:/I'm using 4th gen IPOD touch and the wifi can't connect to my home NTWK, it sends me to a far distant IP ADDRESS and can't connect. a building public NTWK is wifi connectable, any ideas how I can resolve this WIFI issue??? TY
    [email protected]    

    Do other devices connect to your router?
    What do you mean by distant IP address? 
    - Reset the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    -power off and then back on yur router
    - Reset Network settings: Settings>General>Reset Reset Network Settings
    - The troubleshooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections

  • How do you change the language of the dictionary on Safari from English (US) to (UK)? I'm using Windows 7 Home Premium and the latest version of Safari for Windows that I know of. Cheers in advance

    How do you change the language of the dictionary on Safari from English (US) to (UK)? I'm using Windows 7 Home Premium and the latest version of Safari for Windows that I know of. Cheers in advance

    92matt wrote:
    Cheers for the quick response, but do you know whow I would do that?
    Apologies I'm not the most technical of people!
    Open Regional and Language Options by clicking the Start button , clicking Control Panel, clicking Clock, Language, and Region, and then clicking Regional and Language Options.
    Lupunus

  • When i use a headphones they work and the speakers also work

    when i use a headphones they work and the speakers also work

    Hello did you try to update your sound drivers? You can also select as default device the headphones or the speakers in the sound configuration in control panel

  • I cannot re-install Adobe Acrobat X Standard I have the Key and it is accepted - but the installation almost finishes and the stops and back out

    I cannot re-install Adobe Acrobat X Standard I have the Key and it is accepted - but the installation almost finishes and the stops and back out
    I have tried this several times
    Please advise

    uninstall any acrobat and reader installations, clean and then install -  Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs

  • HT201299 After installing an app on iPhone 5s, I can't use it outside of wifi (using cellular or mobile data) and the app is not listed in settings to enable its use of mobile data - any clues on what is wrong here?

    After installing an app on iPhone 5s, I can't use it outside of wifi (using cellular or mobile data) and the app is not listed in settings to enable its use of mobile data - any clues on what is wrong here?

    Steps to take to resolve this issue:
    1/  Turn off Wifi
    2/  Ensure Mobile (cellular) data is on
    3/  Turn iPhone OFF and then ON (re-boot iPhone)
    4/  Without turning Wifi on, open an app that requires mobile (cellular) data.
    5/  The app will now show on the Settings list with the option to enable or disable mobile (cellular) data
    6/  In time all apps that require or use mobile data will be added to the list automatically.

  • Hi there, I'm using iOS 10.10.3 and the thing is that Keynote app is not free  for me. It supposed to free for iOS 10.10.3 Thank You.

    Hi there, I'm using iOS 10.10.3 and the thing is that Keynote app is not free  for me. It supposed to free for iOS 10.10.3 Thank You. BTW my device is MacBook Pro Retina Display 13.3 mid 2014.

    iOS? I believe you mean Mac OS X 10.10.3
    Keynote is only free to purchasers of a new Mac within the first 12 months of purchase.
    Upgrading to Yosemite on older Macs does not qualify itself for free upgrades of Keynote.

  • HT3275 Using time machine first time and the estimated time says 25 days. Wow! Am I able to use my Mac when Machine is doing its first backup?

    Using time machine first time and the estimated backup time says 25 days. Wow!
    Am I able to use my MacBook Pro when Machine is doing its first backup?
    I can't be without my computer that long. I would have withdrawal symptoms (very painful).

    Something WAS radically wrong, but I don't know what it was. However, using Apple's disk utility, I decided to totally erase the Seagate, which was "pre-formatted" for Mac and PC.
    I first saved the Seagate software to my hard drive just in case I needed it later (which I don't),
    By the way, the first time I tried Time Machine it stalled after about 3 GB. The second time I got the message saying 25 days backup time. I stopped that backup after receiving your response.
    After reformatting (extended - journaled) I made my third attempt. Success!!! It took about 8 hours, but went through without a hitch..
    I bought the SeagateI because a momentary power failure messed up my 1 TB LaCie external, which was divided into 2 partitions. The power glitch completely fouled one partiton and it will not reformat no matter what I try. I did not do a full reformat because I did not want to lose the backup on the good partition. Now that I have a good backup I plan to do a full 1 TB reformat (without partitions) on the LaCie.
    Thank you for your response, which really did help me.

  • How to use one NIC for everything and the other to allow ssh from

    Hello,
    I have two internet connexion at home:
    - a cable connection (CABLEBOX) that i use for all of my devices as it's the fastest. All my computers are connected to it using ethernet or wifi.
    - an adsl connection (ADSLBOX) that is connect to the second network card of one of my computers (MEDIABOX) only and that i want to use only to ssh that same device from the outside
    I want that specific computer to use its:
    - NIC1 to connect to the LAN and to the internet. Routing is enabled on CABLEBOX.
    - NIC2 to connect to that device from the outside using ssh. ssh-D should also work through NIC2 as i need to be able to use that computer as a proxy on some occasions. Routing is enabled on ADSLBOX and it's set to port forward the port 22 to MEDIABOX.
    Once this will be working i'd like to also route ftp connections to specific ips by NIC2.
    No firewall is set on MEDIABOX yet, i'll do it later on.
    I know basics on how to set routing rules, how to assign a specific LAN to a network card but i have a hard time on deciding which rules i should set...
    Can someone guide me?
    Thanks in advance
    Last edited by parpagnas (2013-12-03 18:31:31)

    A possible solution might be this.
    On ADSLBOX and CABLEBOX configure different subnets for the LAN, e.g.
    ADSLBOX:    192.168.1.0/24
    CABLEBOX: 192.168.2.0/24
    The MEDIABOX gets these static IPs:
    ADSL-LAN: 192.168.1.2
    CABLE-LAN: 192.168.2.2
    On the MEDIABOX, configure the two network interfaces using two routing tables.
    The ADSL-LAN routing table
    ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2 table 1
    ip route add default via 192.168.1.1 table 1
    The CABLE-LAN routing table
    ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2 table 2
    ip route add default via 192.168.2.1 table 2
    The main routing table
    ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2
    ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2
    # use the CABLE-LAN gateway as default, so general internet traffic from MEDIABOX runs over CABLEBOX
    ip route add default via 192.168.2.1
    define the lookup rules
    ip rule add from 192.168.1.2 table 1
    ip rule add from 192.168.2.2 table 2
    To test the setup:
    ip route show
    ip route show table 1
    ip route show table 2
    I don't know how to persist something like this in ArchLinux using netctl. Might require to write a special systemd unit for it. Above is a working example from a RedHat box at my company.
    Last edited by teekay (2013-12-04 07:42:22)

  • How can I install Adobe Photoshop Elements Update 9.0.3 after I get a message that Installation has failed and the solution is not in troubleshooting or forums?

    My Photoshop Elements 9 stopped working a couple of weeks ago. When I clicked the PSE button nothing happened. I tried this several times over a few days and it still failed. I uninstalled the program and re-installed it. It worked well. Then I tried to install the Update 9.0.3. The download was almost successful. When it was about to show 100% successful for the download, an error message said the installation had failed and that I should try later. I tried this many times over a few days and the same result occurred. I tried troubleshooting and the answers to questions, but I could not find an answer. I don't know where to go to see if anybody has answered my question. How can I install Update 9.0.3?
    Colin Hansen

    Try downloading and installing the 9.0.3 updater from here:
    mac
    Adobe - Photoshop Elements : For Macintosh
    windows
    Adobe - Photoshop Elements : For Windows

  • How can I use an IF ELSE statement and the xdoxslt: get_variable together?

    First of all, I'm a big fan of this forum and I just want to thank the community for helping make the BI Publisher world a better place.
    I'm trying to populate a table with a years worth of data with the column=PRODUCT and row=month of DATE. Here's the catch, not all of the months will have data. So here's where my problem is, I'm not able to use an IF ELSE statement along with a XDOXSLT:GET_VARIABLE expression so that if there's no data for that month the default value will be 0.
    Can someone help me find a solution to either one of the attempts below or a completely new method? Thanks!
    BP4 = numeric month value using DATE (more code to pull only month from DATE not included here)
    JAN1 = PRICE if data exists, else 0
    1) I tried this and it didn't work:
    <?if: xdoxslt:get_variable($_XDOCTX,'BP4'),01 then xdoxslt:set_variable($_XDOCTX, 'JAN1',PRICE) else xdoxslt:set_variable($_XDOCTX, 'JAN1',0) end if?>
    <?xdoxslt:get_variable($_XDOCTX,'JAN1')?>
    <?end if?>
    2) I tried this and it didn't work:
    <?xdoxslt:ifelse(xdoxslt:get_variable($_XDOCTX,'BP4')='01',xdoxslt:set_variable($_XDOCTX, 'JAN1',PRICE),xdoxslt:set_variable($_XDOCTX, 'JAN1',0))?>
    <?xdoxslt:get_variable($_XDOCTX,'JAN1')?>
    <?end if?>
    3) I tried this and it didn't work:
    <?xdofx:if xdoxslt:get_variable($_XDOCTX,'BP4')='01' then xdoxslt:set_variable($_XDOCTX, 'JAN1',PRICE) else xdoxslt:set_variable($_XDOCTX, 'JAN1',0) end if?>
    <?xdoxslt:get_variable($_XDOCTX,'JAN1')?>
    <?end if?>
    sample XML:
    <ROW>
    <Name>Craig Hernandez</NAME>
    <DATE>2013-01-01T00:00:00.000+08:00</DATE>
    <PRICE>31</PRICE>
    <PRODUCT>BPD</PRODUCT>
    </ROW>
    -DrT
    Edited by: 990965 on Feb 28, 2013 8:27 AM

    let me clarify my logic, the template 1) searches for the relevant PRODUCT (in the case below, it searches for BPD which is the column in the table) 2) searches for the relevant month in DATE (which is the row in the table) 3) if data exists, get PRICE else default to 0
    Variable definitions:
    BP4 = numeric month value from DATE (more code to get this value not included here, but it works...)
    JAN1 = set to PRICE if data exists for that month, else 0
    the query is only pulling all of the existing data, so if there's no data for March then there wouldn't be a March entry in the xml. In the sample xml below, we only have data for the first two months (Jan, Feb) so that's the only data in the xml. I can't check if PRICE is null because the xml will not have any data for March.
    I've read through other threads and it seems that BI Publisher can't use an IF THEN ELSE with the XDOXSLT:GET_VARIABLE. I sent the template and xml to you.
    Sample XML:
    <ROW>
    <Name>Craig Hernandez</NAME>
    <DATE>2013-01-01T00:00:00.000+08:00</DATE>
    <PRICE>31</PRICE>
    <PRODUCT>BPD</PRODUCT>
    </ROW>
    <ROW>
    <Name>Craig Hernandez</NAME>
    <DATE>2013-02-01T00:00:00.000+08:00</DATE>
    <PRICE>30</PRICE>
    <PRODUCT>BPD</PRODUCT>
    </ROW>
    Edited by: 990965 on Feb 28, 2013 8:30 AM

  • I use firefox 3.6.20 and the firefox sync plugin dissapered, where did it go?

    Not sure if it needs more information besdies I went to the "what is firefox sync" and got to the install wher ethere was no plugin
    was: http://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync
    then: https://addons.mozilla.org/en-US/firefox/addon/firefox-sync/
    says: "This add-on has been removed by its author. "

    Firefox is not offering the Sync add-on to Firefox 3.6 users any longer. If you update to a Firefox 4+ version, you'll be able to use Sync - it is built into the Firefox 4+ versions and doesn't need an add-on.
    The Sync service has been expanded to include add-ons ''(in the Nightly 12.0 versions for now)'' within the last week or so, and I suspect Mozilla didn't want to update the Sync add-on for a version which won't be supported for much longer - 3.6 support is slated to end in April.

Maybe you are looking for

  • Need help with java program

    Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the Previous button

  • Calendar colour changes

    My work calemdar suddenly changed from Green To Purple which clases with onother canendar. Unable to get it back. This seems to be a problem for many people. Any answers??

  • TS1292 what does the serial number on the back look like on a iTunes Gift Card?

    what does the serial number on the back oaf a gift card look like?  There are a lot of numbers and letters

  • Transposing column 1 data as columns and column 2 data as records

    Hi Sirs, I have a table having data in the form Present data format           Interview_no     Question     Answer 1     Q1     A1.1 1     Q2     A1.2 1     Q3     A1.3 1     Q4     A1.4 1     Q5     A1.5 1     Q6     A1.6 1     Q7     A1.7 2     Q1 

  • What exactly is PDK??

    hello! I'm asked to evaluate the development tools for EP Content Development and PDK is one of the 'tools' on my agneda. But is it a tool ? In some documents it appears as a development environment, in other documents it is defined as a set of docum