Installaware Studio X3.
When I manually change a file in the target folder, after installation, the file in the source folder change aswell.
What is the reason for that, and how can this be avoided. Restarting the computer does not help.
After installation: Source file change when target change
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: After installation: Source file change when target chang
Dear JeyKeyRey,
could you please report the exact steps you used to replicate such behavior?
...I am not able to reproduce.
Regards
could you please report the exact steps you used to replicate such behavior?
...I am not able to reproduce.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: After installation: Source file change when target chang
Hi Francesco,
Sorry for not describing good enough, and for not answering before now...
Attached is a Picture of the simple code.
I have a program folder structure like this:
...\Program\Setup\Setup_Ver\Program
The Installaware Studio X3 made setup exe, running from the Setup_Ver folder, is copying files from the subfolder Program to the leftmost folder Program (targetfolder).
All Works fine, and the setup exe is closed.
When I want to run the setup once more, and manually copy old files into the leftmost Program folder, the same old files are "automatically" copied to the other Program folder too...
Hopefully this explanation will give you an understanding of the issue.
Regards
Sorry for not describing good enough, and for not answering before now...
Attached is a Picture of the simple code.
I have a program folder structure like this:
...\Program\Setup\Setup_Ver\Program
The Installaware Studio X3 made setup exe, running from the Setup_Ver folder, is copying files from the subfolder Program to the leftmost folder Program (targetfolder).
All Works fine, and the setup exe is closed.
When I want to run the setup once more, and manually copy old files into the leftmost Program folder, the same old files are "automatically" copied to the other Program folder too...
Hopefully this explanation will give you an understanding of the issue.
Regards
- Attachments
-
- Code_example.png (173.79 KiB) Viewed 9844 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: After installation: Source file change when target chang
Dear JeyKeyRey,
I am very very sorry, but I am still not able to have a clear picture of your problem.
Looking at your code, I can understand that you are trying to conditionally replace some files under your TARGETDIR.
However it's not clear when this operation is effectively sequenced in your setup script.
If the code you posted gets executed before to effectively "install other files" to your TARGETDIR, it may be possible this operation is overridden by the successive install files operations.
Furthermore your code snippets includes "Windows Installer" commands (PURPLE COMMANDS). Unless NATIVE ENGINE is explicitly used, those commands are not executed immediately, but deferred to Apply Install execution. Did you consider this scenario?
http://www.installaware.com/forum/viewtopic.php?f=2&t=4338&start=0
That said and due the above considerations, it's quite difficult for me to find out the real nature of your issue.
BTW, If you have any chance to release a very "VERY" minimal project that demonstrates the problem, I'll be happy to verify it.
Regards
I am very very sorry, but I am still not able to have a clear picture of your problem.
Looking at your code, I can understand that you are trying to conditionally replace some files under your TARGETDIR.
However it's not clear when this operation is effectively sequenced in your setup script.
If the code you posted gets executed before to effectively "install other files" to your TARGETDIR, it may be possible this operation is overridden by the successive install files operations.
Furthermore your code snippets includes "Windows Installer" commands (PURPLE COMMANDS). Unless NATIVE ENGINE is explicitly used, those commands are not executed immediately, but deferred to Apply Install execution. Did you consider this scenario?
http://www.installaware.com/forum/viewtopic.php?f=2&t=4338&start=0
That said and due the above considerations, it's quite difficult for me to find out the real nature of your issue.
BTW, If you have any chance to release a very "VERY" minimal project that demonstrates the problem, I'll be happy to verify it.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: After installation: Source file change when target chang
Thank you, Francesco, for answering
Now more of the code is Attached
Regards
Jo Kåre
Now more of the code is Attached
Regards
Jo Kåre
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: After installation: Source file change when target chang
Dear JeyKeyRey,
in reality I asked for a minimal project (IA project's files).
If you have problem to post it on the forum, please send it as compressed archive to; support@installaware.com
Regards
in reality I asked for a minimal project (IA project's files).
If you have problem to post it on the forum, please send it as compressed archive to; support@installaware.com
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: After installation: Source file change when target change
Hi Francesco,
A new unwanted sideeffect og running the Project: When running the Project several times to update files on several locations, manually, afterwards, changing the Security Access rights on the files in one of the locations, the same Security settings are changed for the files on the other locations. This in addition to the substitutions of files mentioned earlier.
Attached is a zip of a Project,
Regards
Jo Kåre
A new unwanted sideeffect og running the Project: When running the Project several times to update files on several locations, manually, afterwards, changing the Security Access rights on the files in one of the locations, the same Security settings are changed for the files on the other locations. This in addition to the substitutions of files mentioned earlier.
Attached is a zip of a Project,
Regards
Jo Kåre
- Attachments
-
- HKdata_project.zip
- (3.43 MiB) Downloaded 676 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: After installation: Source file change when target change
Dear Jo Kåre,
I download your project, but it's not clear to me which is the problem you seem to have.
Could you please list the exact steps to follow in order to replicate the issue?
Regards
I download your project, but it's not clear to me which is the problem you seem to have.
Could you please list the exact steps to follow in order to replicate the issue?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: After installation: Source file change when target change
Hi Francesco,
I have now attached to more files to help you reproduce the "problem":
- unzip HK velferd.zip (making HK velferd\Program\Setup)
- unzip HKvelferd_8.5.5.877_Setup.zip to HK velferd\Program\Setup (not dependent of a certain location, contains newer files for the HK velferd\Program folder)
- start HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\HKvelferd_8.5.5.877_Setup.exe
- Choose "Oppgradere HK velferd program" and browse ("Søk") to the location HK velferd\Program, and click "OK"
- You will get a message describing what is updated in HK velferd\Program. (The content of HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program is copied to HK velferd\Program.) Close ("Avslutt") the setup program
- So far, so good
- Manually changing the files in HK velferd\Program (to be able to run the installation once more for testing) will make the files change in HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program too!!!! To test this, You can copy the old version of the file HK velferd.exe from HK velferd\Program\Arkiv to HK velferd\Program, and observe that the file is changed in HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program too.
- If the installation is run to update files in more folders, adjusting security settings (access rights) on files in one folder, makes changes in the other folders too!!!
Hopefully this will be what you need.
I have now attached to more files to help you reproduce the "problem":
- unzip HK velferd.zip (making HK velferd\Program\Setup)
- unzip HKvelferd_8.5.5.877_Setup.zip to HK velferd\Program\Setup (not dependent of a certain location, contains newer files for the HK velferd\Program folder)
- start HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\HKvelferd_8.5.5.877_Setup.exe
- Choose "Oppgradere HK velferd program" and browse ("Søk") to the location HK velferd\Program, and click "OK"
- You will get a message describing what is updated in HK velferd\Program. (The content of HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program is copied to HK velferd\Program.) Close ("Avslutt") the setup program
- So far, so good
- Manually changing the files in HK velferd\Program (to be able to run the installation once more for testing) will make the files change in HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program too!!!! To test this, You can copy the old version of the file HK velferd.exe from HK velferd\Program\Arkiv to HK velferd\Program, and observe that the file is changed in HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program too.
- If the installation is run to update files in more folders, adjusting security settings (access rights) on files in one folder, makes changes in the other folders too!!!
Hopefully this will be what you need.
- Attachments
-
- HKvelferd_8.5.5.877_Setup.zip
- (9.33 MiB) Downloaded 570 times
-
- HK velferd.zip
- (7.13 MiB) Downloaded 541 times
Last edited by JeyKeyRey on Tue May 24, 2016 1:55 am, edited 1 time in total.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: After installation: Source file change when target change
Dear JeyKeyRey,
I am not able to replicate your steps. Once selected "Oppgradere HK velferd program" along with the "..\HK velferd\Program" location, I receive the following warning and this doesn't give any option to continue.
I am very sorry, but I cannot execute any verification in this way.
To make things easier, please release a very "very" minimal project from scratch which replicates the issue, along with minimal steps as possible in order to reproduce the issue.
Then send to me the entire IA project folder.
Regards
I am not able to replicate your steps. Once selected "Oppgradere HK velferd program" along with the "..\HK velferd\Program" location, I receive the following warning and this doesn't give any option to continue.
I am very sorry, but I cannot execute any verification in this way.
To make things easier, please release a very "very" minimal project from scratch which replicates the issue, along with minimal steps as possible in order to reproduce the issue.
Then send to me the entire IA project folder.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: After installation: Source file change when target change
When you first unzip the HKvelferd.zip you will get these folders and files as Attached.
When running the setup and selecting "Oppgradere HK velferd program" and browsing to the Program folder as shown in the Attached gif, you will pass the test (HKvelferd.exe will be found) and the file is replaced.
Please, try again.
Regards,
Jo Kåre
When running the setup and selecting "Oppgradere HK velferd program" and browsing to the Program folder as shown in the Attached gif, you will pass the test (HKvelferd.exe will be found) and the file is replaced.
Please, try again.
Regards,
Jo Kåre
- Attachments
-
- Skjermbilde.GIF (5.01 KiB) Viewed 9295 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: After installation: Source file change when target change
Dear Jo Kåre,
definitely, I am not able to replicate the issue you seem to have.
Once executed the "HKvelferd_8.5.5.877_Setup.exe" with selecting "Oppgradere HK velferd program" and browsing to the Program folder as you indicated, the existing "HKvelferd.exe" gets replaced by its new version as expected.
Then I have manually overwritten the "HKvelferd.exe" under the "..\HK velferd\Program" folder with its old version from the "HK velferd.zip" and this doesn't overwrite also the "HKvelferd.exe" under "..\HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program".
Furthermore, manually changing the security attributes of a file are not propagated to the other file and viceversa.
Hope this helps you.
Regards
definitely, I am not able to replicate the issue you seem to have.
Once executed the "HKvelferd_8.5.5.877_Setup.exe" with selecting "Oppgradere HK velferd program" and browsing to the Program folder as you indicated, the existing "HKvelferd.exe" gets replaced by its new version as expected.
Then I have manually overwritten the "HKvelferd.exe" under the "..\HK velferd\Program" folder with its old version from the "HK velferd.zip" and this doesn't overwrite also the "HKvelferd.exe" under "..\HK velferd\Program\Setup\HKvelferd_8.5.5.877_Setup\Program".
Furthermore, manually changing the security attributes of a file are not propagated to the other file and viceversa.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: vaibhavopkey and 142 guests