Indigo Rose Software
  #1  
Old 08-13-2008
pico pico is offline
Forum Member
 
Join Date: Aug 2008
Posts: 8
How to write registry entries in Unicode ?

Does anyone how to write Unicode string withs Setup Factory scripting language ? (I need to write Japanese and Chinese entries, Setup Factory is on english computer)
Reply With Quote
  #2  
Old 08-15-2008
pico pico is offline
Forum Member
 
Join Date: Aug 2008
Posts: 8
Its not possible I suppose ? Except executing my own code from installer ?
Reply With Quote
  #3  
Old 08-17-2008
pww's Avatar
pww pww is offline
Forum Member
 
Join Date: Jun 2005
Posts: 343
you may add .reg files to your setup (for example like primer files) and silently merge them at install time by File.Run -ing
regedit /s "path_to_reg_file"
Reply With Quote
  #4  
Old 08-19-2008
sckoh1's Avatar
sckoh1 sckoh1 is offline
Forum Member
 
Join Date: Sep 2004
Posts: 3
Oops

Hello pww,
Will you please explain it easier?
Reply With Quote
  #5  
Old 08-20-2008
pww's Avatar
pww pww is offline
Forum Member
 
Join Date: Jun 2005
Posts: 343
instead of using SF registry actions to modify the registry, you can make a .reg file that will do the same. There shouldn't be a problem with unicode strings.
Include this .reg file as a primer file in the SF project (Resources -> Primer files). When the installer is started, the file will be unpacked to the TempLaunchFolder, and you have to send a command to regedit.exe to silently merge the file into the registry. The script code to do that should be something like
Code:
File.Run("regedit", "/s " .. "\"" .. _TempLaunchFolder .. "\\your_file.reg\"", "", SW_MINIMIZE, false);
, you may put it in the "On startup" or "On post install" script.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
allow write registry Permissions atena Setup Factory 7.0 Discussion 4 05-14-2008 12:24 AM
Can I read and write registry and INI values? Ted Sullivan AutoPlay Media Studio 7.5 FAQ 0 10-17-2007 11:27 AM
Unable to write a binary password to the registry leedaman Setup Factory 7.0 Discussion 2 03-01-2005 09:12 AM
How to add registry entries to different packages? Kai Setup Factory 6.0 3 12-05-2003 03:17 PM
INFO: Finding Shell Folders in the Registry Support Setup Factory 6.0 Knowledge Base 0 10-10-2002 04:52 PM


All times are GMT -6. The time now is 01:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software