Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.
|
|||||||
Hard coding an installer
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Hard coding an installer
is there a way that i can hardcode a password into an executable such that i don't need to type it in myself. I've seen it done before (although not too often) and thus I know it can be done. The reason is that i'm trying to do a silent install of a software but the password blocks me from finishing the installation.
If there is some sort of editor i can use to edit the file myself (I'm not sure of the language used to compile it) or a software that edits dialog boxes manually, i would be very grateful. Another approach would be to provide the password in the command line, which i don't know how to do offhand. i've basically just used the "filename /verysilent" command without the quotes to attempt a silent install. Thanks -Sam. |
|
#2
|
||||
|
||||
|
The issue is to avoid prompting for the PW on all except the first invocation.
Common techniques are to write the PW in a scrambled manner (eg encrypted) into a file at a known location and read it as required and decrypt. On windows, the registry is the most common location. It is not uncommon to have the PW embedded in the program and then update it at install time with another program (the installer) which knows how to
|
|
|
|
#3
|
|||
|
|||
|
i was thinking more along the lines of an autoit script. Once the password has been entered during the install process, the program itself runs smoothly without any reference to a name and password (ie. i don't think there is a registry entry that gets saved since there is only 1 version, the full version)
I don't know how to scrample passwords, i'm not too advanced, i barely know how to use debuggers such as softIce and Olly. thanks though. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Online Coding (Mainly PHP) | Reddo | Security and the Web | 4 | 02-16-2008 04:20 PM |
| Windows Installer | harken | Windows OS | 7 | 07-11-2007 05:25 PM |
| Installer Error | Rich88 | Audio and Video | 5 | 12-28-2005 04:51 PM |
| WD JB80 in foreign coding??? | michael_martin | Storage & Networking | 1 | 05-03-2005 04:05 AM |
| HTML - need help with coding... | Spike | The Meeting 'spot' | 3 | 03-01-2005 07:40 PM |
All times are GMT -4. The time now is 05:49 AM.





