File don't pass in innosetup

Started by sacramento, September 10, 2008, 04:10:10 AM

Previous topic - Next topic

sacramento

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

Randem

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)

sacramento

Hi:
 
Ok...the problem is gone and the instalation work very well...
 
Thanks

sacramento

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!

sacramento

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

Randem

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.

sacramento

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?