Jump to content

chikky

Member
  • Posts

    13
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Posts posted by chikky

  1. I have made a portable application that needs to install some fonts in the "%windir%\fonts" directory. I am copying the fonts in the "fonts" folder with a batch file. My problem is the fonts I have copied are not recognized by my system until I reboot the system or open the "fonts" folder manually.

    Is there any way to register these fonts automatically without a reboot or opening the "fonts" folder?

  2. You can make a batch to create a temporal .reg.

    Example :

    @echo off
    >FixReg.reg echo REGEDIT4
    >>FixReg.reg echo.
    >>FixReg.reg echo [...\SOFTWARE\Classes\Folder\shell\Add to My App]
    >>FixReg.reg echo "command"="%Temp%\Myapp.exe"
    start /w regedit /s FixReg.reg
    del FixReg.reg
    exit

    This will create reg file with correct fixed value, not variable.

    No, it doesn't work. It adds the key "Add to My App" to the registry but not the value. Any help on this?

  3. REG ADD "HKLM\SOFTWARE\Classes\Folder\shell\Add to My App\command" /VE /T REG_EXPAND_SZ /D "\"%%Temp%%\Myapp.exe\" %%L" >NUL

    <Edit>

    This is just a correction to the above post.

    </Edit>

    REG ADD "HKLM\SOFTWARE\Classes\Folder\shell\Add to My App\command" /VE /T REG_EXPAND_SZ /D "\"%Temp%\Myapp.exe\" %%L"

    This is working on winxp but not on win2k.

  4. I want to import a registry file with "universal syntax" to add a context menu entry during install.

    I am extracting my application to temp folder and running from there. To add the context menu item, I have to import the following registry value

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Add to My App\command]

    @="\"C:\\Documents and Settings\\username\\Local Settings\\Temp\\Myapp.exe\" %L"

    Here, I don't want to use absolute path so that it is not dependent on the user or the machine. I want to use it with some universal syntax like

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Add to My App\command]

    @="\"%Temp%\\Myapp.exe\" %L"

    I have tried it with no success. It adds the value "add to my app" in the context menu but cannot find the path. Is there any way to do this?

    I am sure that I can find some solution through this forum.

  5. I have modified some applications to make them ready to use without installing. I have used rar sfx, which extracts files to temporary or a specified folder before launching the applications.

    I want to incorporate an optional question so that when I exit the application I am running, it should ask that whether I want to delete the files or the folder I extracted to. Is it possible with a batch file?

    Can somebody help me, if I am clear enough.

  6. try
    realalt.exe -MakeUnattended 
    or
    quicktimealt.exe -MakeUnattended

    This will start a wizard called "Unattended Install Maker". chose all the install option you want like removing MPC and the wizard will make two files for you qtalt.ini (or realalt.ini) and qtalt.bat (or realalt.bat) the same method goes for K-Lite Codec Pack too.

    hope that helps..

    I am sorry, R33K3R, but I am a newbie in this. Where to put "realalt.exe -MakeUnattended or quicktimealt.exe -MakeUnattended" commands?

  7. Thanks for the suggestios, brothers. I would definitely like to try Innosetup, Installrite or any similar software as suggested. But as on now I prefer to use winrar as I believe that it has better compression ability than other installers. Well, I might be wrong as I didnot give enough tries to other options.

    PaulIA, I am sorry that I couldn't make you understand my question. Yes, my SFX file unpacks itself to %programfiles%\portable but then it does not install anything but runs my application directly from there. I know about "TempMode" of winrar, but I don't want to use that for this particular exercise because I don't want to get my foder deleted automatically after the extraction, but later when I decide to remove this softwre from my machine. I can do this manually also, deleting the foder and deleteing the registry entries, but I want to make a quick way of doing that like making a batch file or a macro???

  8. Hi, this is my first post in this forum. I had been visiting this board since last 4-5 days and found it very useful to learn about many things.

    I am trying, these days, to make some of my applications portable so that they are instantly available to use without requiring installation and manual registration. I have put my files in winrar sfx which extracts them to %programfiles%\portable folder.

    Now I want help from my seniors in this field, in making an uninstall file, which on a single double click will delete %programfiles%\portable folder and the files and also the registry entries which are made during my application run.

    Am I clear enough to make you understand about my requirement?

×
×
  • Create New...