Question : Using install script to get directory path of the installation

I need install script to get the  directory path of the installation and write it to a key. I know how to write to the key, I just need the name of the function that returns this and it's return value so that I can put it into a variable to be used by RegDBSetKeyValueEx. Hopefully an easy 500. Thanks.

Answer : Using install script to get directory path of the installation

Try this:
1:
2:
3:
4:
5:
6:
7:
function ascii_only(str) {
    return str.replace(/[^\x20-\x7E]/g, ''); // ASCII chars " " thru "~"
}
//
// And then
//
var my_new_string = ascii_only(my_string);
Random Solutions  
 
programming4us programming4us