Find the installation path of the addon

Hi
Can anyone tell me a way to find out the installation path of the current addon please.
I would like to reference the xml files that are in there in my application
I am using SP01 PL36
Many thanks
Regards Andy

Paul,
application is part from
using System.Windows.Forms;
so when you include the line above it is working !
are you not using c# ?
tell me your programming language - i try to help you.
debug the line in c# and you will see you have the path with your xml
xmlineed = System.IO.Directory.GetParent(Application.ExecutablePath).ToString() + ";
myfile.xml"
replace the ; to double \
if you're satisfied reward me

Similar Messages

  • Find the installation Path of the current running VM on Windows

    Hello,
    I have a java class started by webstart.
    In this class I would like to find the absolute path of the current running vm? This is important to me because I need to start an exe file (using ProcessBuilder) and hand it the path of the java VM,
    For example I could try something like this:
    private static File findJDK() throws Exception {
    String s = System.getProperty("java.home");
    File myJRE = new File(s);
    if (new File(myJRE, "bin/javac.exe").isFile()) {
    return myJRE;
    File parent = myJRE.getParentFile();
    if (new File(parent, "bin/javac.exe").isFile()) {
    return parent;
    for (String pathel : System.getenv("PATH").split(File.pathSeparator)) {
    File bindir = new File(pathel);
    if (new File(bindir, "javac.exe").isFile()) {
    return bindir.getParentFile();
    return myJRE;
    But I would like the above code to be more fool proof!
    For example the "java.home" could be wrongly set.
    Since java is allready running I would have hopped that I could query the Runtime. But there seems to be no method providing the running java VM path?
    I also tried looking at the jnlp services API but no luck.
    I would be also interested find the lastest java VM on the client Windows machine....
    Many greetings
    john

    http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#getProperties()
    bye
    TPD

  • How i can define the installation path of the setup.msi installation file ?

    Hi everybody,
    The msi package generated during AIR app install is  in a temporary folder ..../User/Username/Local/Temp/fla%.tmp/setup.msi.
    My problem is the installation folder is always changing.
    how can i define this folder in order to grant elevated access for users to install this package ?

    up

  • Find installation path of the LV application

    I want to find the installation path of the LV application. I have aplication already installed in the system. Lets call it applic.exe file. I want to find in which directory it is installed. I need to obtain this information programatically, probably by reading some registry key, but I do not know which.
    Thanks in advance.
    regards
    Pawel

    Hi pawel
    1. Registry: I don´t think that will be possible, since, at least in my system, there is no registry key for path to an application.exe. Yoy can try to run Regedit ans use its search to look for youa applic.exe and see all references in registry.
    2. My suggestion is to use any list recursive directories and check for path to your file.
    You can find examples if listing directories in this web and OpenG site.
    Hope it helps
    Alipio
    "Qod natura non dat, Salmantica non praestat"

  • How can I change the installation path  of JWS?

    I have to install the JRE 1.4.0_01 in silent mode on Windows XP. For the JRE I can set the installation path in the corresponding dialog and record it in an *.iss file. When starting the silent installation the JRE is correctly installed into this path but the Java Webstart installation procedure doesn't care about this path and installs JWS in 'D:\Programme\Java Web Start'.
    How can I change the installation path for JWS?
    J�rg

    Verify Free Disk Space. Assuming you are installing the OS to the C: drive.

  • I need to reinstall my Canon Pixma Pro 9500 MK 2 printer on my iMac running Mavericks. It looks for software but Apple cannot find. The driver is available on my computer. Is there a way I can force the installer to use the available driver?

    I need to reinstall my Canon Pixma Pro 9500 MK 2 printer on my iMac running Mavericks. It looks for software but Apple cannot find. The driver is available on my computer. Is there a way I can force the installer to use the available driver?

    I need to reinstall my Canon Pixma Pro 9500 MK 2 printer on my iMac running Mavericks. It looks for software but Apple cannot find. The driver is available on my computer. Is there a way I can force the installer to use the available driver?

  • How to find the physical path of the ASM disks?

    I am in a dilemma on how to find out the physical path of the ASM disks. I tried the following query, but as you can see it is not providing me the physical path of the LUN. This is a 2 node 10.2.0.4 RAC Cluster using asmlib package.
    col name format a20
    col path format a20
    col label format a20
    select name, path, label from v$asm_disk;
    NAME PATH LABEL
    ORCL:ASM103 ASM103
    ORCL:ASM104 ASM104
    ORCL:ASM117 ASM117
    ASM101 ORCL:ASM101 ASM101
    ASM102 ORCL:ASM102 ASM102
    ASM105 ORCL:ASM105 ASM105
    ASM106 ORCL:ASM106 ASM106
    ASM107 ORCL:ASM107 ASM107
    ASM108 ORCL:ASM108 ASM108
    ASM109 ORCL:ASM109 ASM109
    ASM110 ORCL:ASM110 ASM110
    NAME PATH LABEL
    ASM111 ORCL:ASM111 ASM111
    ASM112 ORCL:ASM112 ASM112
    ASM113 ORCL:ASM113 ASM113
    ASM114 ORCL:ASM114 ASM114
    ASM115 ORCL:ASM115 ASM115
    ASM118 ORCL:ASM118 ASM118
    ASM119 ORCL:ASM119 ASM119
    ASM120 ORCL:ASM120 ASM120
    ASM121 ORCL:ASM121 ASM121
    ASM122 ORCL:ASM122 ASM122
    ASM123 ORCL:ASM123 ASM123
    NAME PATH LABEL
    ASM124 ORCL:ASM124 ASM124
    ASM125 ORCL:ASM125 ASM125
    ASM126 ORCL:ASM126 ASM126
    ASM127 ORCL:ASM127 ASM127
    ASM302 ORCL:ASM302 ASM302
    ASM303 ORCL:ASM303 ASM303
    ASM304 ORCL:ASM304 ASM304
    ASM305 ORCL:ASM305 ASM305
    ASM306 ORCL:ASM306 ASM306
    ASM307 ORCL:ASM307 ASM307
    32 rows selected.
    Any help will be appreciated.
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi
    use the following linux command as root:
    $oracleasm listdisks
    hth

  • How do we find out the file path which the IDOC is stored.

    Hi,
    If we use T-code: AL11, we can see the file path of the Unix server.  And some IDOC outbound file is also stored in some file path after generated.
    If i generated an outbound IDOC, how do i know in which file path it stored??
    Thanks

    Hi,
    Go to control record of the outbound IDOC.
    go to partner tab, check the port under sender information.
    the outbound file path will be configured with your port.
    Use T-code WE21, the concerned port will be available under section 'File'
    Directory under tab Outbound file will show the path under which file has been stored.

  • How do you find "App installation path"

    According to the SDK doc page 117 on presets, you're supposed to install to "App installation path" but I can't find a reliable registry entry that indicates what it is.
    Premiere Pro presets
    [App installation path]\MediaIO\systempresets\[exporter subfolder]
    I did find...
    HKEY_CURRENT_USER\Software\Adobe\Adobe Media Encoder\[version]\AMECodecCache\64\en_US\AppRoot
    and..
    HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\[version]\AMECodecCache\64\en_US\Default\AppRoot
    and...
    HKEY_CURRENT_USER\Software\Adobe\CommonFiles\Usage\Agent
    What is the correct way to detect the installation path?
    What if the user has CS5 and CS6 installed?
    What if the user doesn't have en_US installed as the language?
    Is it really a common preset system for CS5 and CS6 as the doc suggests or do you have to put it in both PPro and AME?
    thx
    Rallymax

    I should put a link from page 177 to page 35 on plug-in installation.  There it gives the Premiere Pro app path you’re looking for:
    Presets and editing mode XML files are loaded from the application-specific folders, not from the
    common location. On Windows, the root path for Premiere Pro is in the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\
    Adobe Premiere Pro.exe. Then, just add the proper subdirectories.
    For sequence presets:
    \Settings\SequencePresets\[Your specific folder]\
    Editing modes:
    \Settings\Editing Modes\
    Sequence preview presets:
    \Settings\EncoderPresets\SequencePreview\[Your editing mode GUID]\
    Encoder presets:
    \MediaIO\systempresets\[Your exporter folder]\
    Unfortunately there’s no Media Encoder app path given.  I’ll log a bug if you’re interested.
    However, now that the AME team has added the new Preset Browser for CS6, that info on installing the presets in a separate location for each app for better performance may no longer be relevant.  Installing to the shared location here…
    [User folder]\AppData\Roaming\Adobe\Common\AME\[version]\Presets\
    might be fine and quite a bit easier.

  • How do I add a jar file into the build path of the compiler?

    Hey,
    I'm trying to import a jar file into the build path of the compilation process, but it does not find the packages or the classes that are in it.
    I think I don't add it right...
              ArrayList<String> options=new ArrayList<String>();
              options.add("-d");
              options.add(targetDirectory);
              options.add("-classpath");
              for(String str:includeDirectory)
                   options.add(str);
              if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call());
                    ....and I've tried this way:
         public void setTargetDirectory(String targetDirectory) {
              this.targetDirectory = "-d " + targetDirectory;
         private void compile(Iterable<? extends JavaFileObject> compilationUnits) throws Exception {
              ArrayList<String> options = new ArrayList<String>();
              options.add(targetDirectory);
              String classPath="-cp ";// tried this also with "-classpath"
              for (String str : includeDirectory)
                   classPath+=str+":";
              options.add(classPath);
         if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call())
              // throw new Exception("Compilation Error");
         }Thanks in advance,
    Adam.
    Edited by: Adam-Z. on Feb 24, 2010 5:41 AM
    Edited by: Adam-Z. on Feb 24, 2010 5:42 AM

    Thank you for your reply,
    Q: Are there .class files in that directory in that jar file? (the compiler doesn't ( can't )) look for directories, it can just look for specific files , and scan to get a list of all files matching certain criteria. So if there are no class files, it will say the package doesn't exist, even if there is a directory, possibly containing other files.yes there are class files in the jar, the tree structure:
    j2MeDataChunkGenerator_Plugin\(lots of class files)
    META-INF\manifest.mf
    and thats it.
    , your code will only work on windows because other platforms use a different path separator. You should use java.io.File.pathSeparator not explicit ';" when building your classpath. (this is unrelated to your problem, but you should correct it)will do, thanks.
    Q: Is that error in your post formatted by your own diagnostics? (we could possibly help you better if we didn't have to guess!!)I would not post my own error code, this text is generated by the compiler diagnostic.
    {code}
         System.err.println(" Error details: " + diagnostic.getMessage(null));
    {code}
    Q: Is line 3 of ImageCroper_Editor.java (sic) an import statement? (we could possibly help you better if we didn't have to guess!!)it is an import error... didn't the error message stated that it is an import problem? wired, I'm sure before it did. anyway it is an import error.
    Also you don't show us what the variable includeDirectory is in terms of type, and contents, that might be helpful. (we could possibly help you better if we didn't have to guess!!)It has only one String object: "D:\%Important Documents\WorkSpaces\PacMan\ApplicationManager\Plug-in\Data Chunk Designer.jar"
    the last file on the classpath list.
    Q: Have you proven this? that i did post, in this long line of text.
    Q: Is the compiler finding other classes (in other packages) in that same jar file?No. all the class files are in the jar, they all have entries that start with "j2MeDataChunkGenerator_Plugin\*.class", and since I get 47 errors I guess it does not load any other class.
    thank you for you comments, the problem with having these errors, is that I can't even get a piece of information where this error is coming from, only that it is an import loading error package not found, what does that mean? that the jar was not loaded in compilation(no error about this), that the jar is corrupted(no error about this), that the path is incorrect(it is correct I made sure), that there is no such package in the jar(There is), that the compiler does not load the package(does it even do that?), really I can't even guess why this happens, I've been at this on and of all day today, really annoying.
    Thanks,
    Adam.

  • How to get the real path of the xml file

    I have a java application
    following is the package structure
    com>>gts>>xml
    having file---------> MyXML.xml
    com>>gts>>java
    having java program to read the file
    Problem is if I use File file = new File("..\\xml\\MyXML.xml");
    java.io.FileNotFoundException: E:\LEARNING_WORK_SPACE\JavaXml\..\xml\MyXml.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    How do I get the real path of the xml file.
    Edited by: shashiwagh on Jan 29, 2010 11:46 AM

    Hi,
    if your XML file is inside a package you can easily get it from the classloader.
    Note that your application maybe packaged inside a jar so it is not safe to use java.io.File for this purpose.
    You have an xml file in :
    com/gts/xml/MyXML.xml
    in a class of the same module (that will packaged in the same jar) for example com.gts.java.XmlLoader :
    // To get the stream :
    InputStream is = this.getClass().getResourceAsStream("/com/gts/xml/MyXML.xml");
    // Or the URL :
    URL xml = this.getClass().getResource("/com/gts/xml/MyXML.xml");Hope it helps.

  • I am trying to install software and am getting the following prompt.Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT. How do I repair this

    I am trying to install software and am getting the following prompt.
    "Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT.
    How do I repair this

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • How to populate the whole path of the button in a field when the button is clicked.

    Hi,
    I have around 5 uploads in my file. I kept a hidden field on the header of the form. When ever i click on the upload button, the path of it needs to be populated in the hidden text field.
    by using   this.parent we can get the parent name of the element.
    is there any method similar to the above one to get the whole path of the button????????

    Try putting this script in the click event of the button
    Hidden_Text_Field_Path.rawValue=this.somExpression;
    This ought to work using either FormCalc or JavaScript.  I'm not sure from your description whether you will need to use the full path name for the hidden text field or use a relative one, but that's not too hard to deal with.

  • I am trying to use motion tracking to have text follow a section of the background.The text box follows the motion path, but the text just sits there.  What am I doing wrong?

    I am trying to use motion tracking to have text follow a section of the background.The text box follows the motion path, but the text just sits there.  What am I doing wrong?

    Motion basically looks at the the source footage and it's timing (in the timing section of the Inspector) when analyzing for tracking.  Filters are basically ignored by the tracker.  Retiming actions, like time re-mapping, or retiming behaviors that are applied before the tracker should be used by the tracker.  Did you change the timing after doing the tracking?  If so this would also require you to re-track the shot.  Understanding that you found a workaround, describing the effects you applied would help to explain why you ran into problems.
    Cheers!

  • HT1926 My iTunes installer was interrupted & now it's telling me "Your system has not been modified.  To complete these operations at a later time, please run the installer again". The only problem is, I've tried to run it about six or seven times.  Can s

    My iTunes installer was interrupted &amp; now it's telling me "Your system has not been modified.  To complete these operations at a later time, please run the installer again". The only problem is, I've tried to run it about six or seven times.

    I'm not sure anyone here knows more about the Java plugin than you do...
    Were you starting the control panel from disk as administrator because it didn't work starting it through the Start menu (if you have Control Panel set to View by Category, the Java control panel is under "Programs").

Maybe you are looking for

  • CMP EJB created base on Synonyms

    Hello, When created CMP EJBs based on Synonyms, entity to entity relationship (use -DassociateUsingThirdTable=true) works fine in JDeveloper embedded OC4J (10g release 1). If deploy to Oracle Application Server (10g release 2) got run time error: 05/

  • How to recover unsaved text in Text Edit when 10.4 crashes

    Hi My powerbook crashed while I was working on file in Textedit. Is there any way to get the unsaved text? Thanks in advance MK

  • 9i to 10g OCP certification

    Dear all, I have 9i OCP Certificate and I have done 1Z0-040 Oracle Database 10g: New Features for Administrators.. , Now what should I do attain the 10g OCP certificate ?.. I understand that Hands on course requirement is not needed for this ?.. How

  • X300 WWAN - works in XP, fails in Windows 7

    There have been a few threads on WWAN and Windows 7 but I can't find an answer to my problem. I haven't been able to get my Sierra WWAN card + Vodafone UK (pre-pay) to work with Windows 7. I had more or less given up but thought I'd have one last try

  • I have a iPone 4S 16GB

    I have a iPone 4S 16GB & am nearly out of space thanks to loads of photos. If I buy extra iCloud storage can I store photos in the cloud which would otherwise not fit on my phone?