Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Auto run and Short cut (Desk top)

kalan95kalan95 Member Posts: 7
Could someone help me to write commands that make the setup.exe run automatically and create a shortcut on the client's desktop. I know I have to add some lines to the SETUP.LST, please can any one tell what to add.

Thanks
Don

Comments

  • Raushan_IndiaRaushan_India Member Posts: 19
    : Could someone help me to write commands that make the setup.exe run automatically and create a shortcut on the client's desktop. I know I have to add some lines to the SETUP.LST, please can any one tell what to add.
    :
    : Thanks
    : Don
    :


    first of all create a setup program
    type this code in a notepad

    -----------------------------
    [AutoRun]
    Open=setup.Exe
    Icon=Checkmrk.ico
    -----------------------------


    now save this notepad file as "autorun.inf" and this to must not b in a folder so that when a cd rom searches for autorun file it gets it in
    current directory
    same with setup.exe this is the main point the user has to remember while creating a autorun cd


    in which the setup.exe is the main setup.exe
    and checkmrk.ico is the icon if u want to place a icon
    this icon is viewed when one opens the explorer and the cd is in
    drive
    u can change the checkmrk as per ur convience take it easay its only filename of icon file

    but remeber the most important thing
    the setup.exe must not b in a folder
    if a user browse a cd then he must b able to see that setup.exe


    hope this works no wait..... this will work
    so enjoy.................
    if problem persists let me noe........[email protected]



  • Raushan_IndiaRaushan_India Member Posts: 19
    : : Could someone help me to write commands that make the setup.exe run automatically and create a shortcut on the client's desktop. I know I have to add some lines to the SETUP.LST, please can any one tell what to add.
    : :
    : : Thanks
    : : Don
    : :
    :
    :
    : first of all create a setup program
    : type this code in a notepad
    :
    : -----------------------------
    : [AutoRun]
    : Open=setup.Exe
    : Icon=Checkmrk.ico
    : -----------------------------
    :
    :
    : now save this notepad file as "autorun.inf" and this to must not b in a folder so that when a cd rom searches for autorun file it gets it in
    : current directory
    : same with setup.exe this is the main point the user has to remember while creating a autorun cd
    :
    :
    : in which the setup.exe is the main setup.exe
    : and checkmrk.ico is the icon if u want to place a icon
    : this icon is viewed when one opens the explorer and the cd is in
    : drive
    : u can change the checkmrk as per ur convience take it easay its only filename of icon file
    :
    : but remeber the most important thing
    : the setup.exe must not b in a folder
    : if a user browse a cd then he must b able to see that setup.exe
    :
    :
    : hope this works no wait..... this will work
    : so enjoy.................
    : if problem persists let me noe........[email protected]
    :
    :
    :
    :



    and if u want to create a shortcut there are api functions which can satisfy u but these r a very lengthy process the most cheaper method is bring that exe in documents list and then copy that shortcut it is in C:windows
    ecent a hidden directory in 98

    hope this helps but if u want to make it through api u can send me ur email

    enjoy vb
Sign In or Register to comment.