Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: sacramento on September 10, 2008, 04:10:10 AM

Title: File don't pass in innosetup
Post by: sacramento on September 10, 2008, 04:10:10 AM
Hi:
This file give a error in innosetup:
 
Error:
Attempt to deploy Dll from own Windows System Directory....
 
Source: c:windowssystem32msstdfmt.dll; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
 
something wrong with innoscript?
Title: File don't pass in innosetup
Post by: Randem on September 10, 2008, 08:19:13 PM
Nothing is wrong with InnoScript. You have to read the documentation about how Inno Setup handles files from the system folder and the documentation on why InnoScript tells you not to use UNSAFE mode... It's all there.
 
Copy the files from the system folder to another folder then tell InnoScript where to find them.
Title: File don't pass in innosetup
Post by: sacramento on September 11, 2008, 01:36:09 AM
Hi randem:
 
But if i choose Safe Files,innoscript don't find this 2 files:
 
Source: msstdfmt.dll; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: msflxgrd.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
 
In this case what I can do?
 
Thanks
Title: File don't pass in innosetup
Post by: sacramento on September 11, 2008, 01:49:24 AM
Hi:
I don't know if is the right way,but I have add this two files,in the section ADD Files and the errors have gone!
Title: File don't pass in innosetup
Post by: sacramento on September 11, 2008, 04:05:42 AM
Hi:
 
Ok...the problem is gone and the instalation work very well...
 
Thanks
Title: File don't pass in innosetup
Post by: Randem on September 11, 2008, 09:56:39 AM
Safe Mode is how you are supposed to run InnoScript. Did you move the files out of the system folder? Using ADD FILES is OK for a small number of files but the advised method is to move the files to a different folder then to add that folder to the Search Tab.
 
BTW: The right way is in the documentation...
 
(Message edited by randem on September 11, 2008)
Title: File don't pass in innosetup
Post by: sacramento on September 11, 2008, 11:14:20 PM
Hi Randem:
 
Because the problem was concerning just for 2 files I just had add files,and not put this files in a folder....but next time if i have a group of this files I put them in a folder...
 
Thanks Again