Change from manual installation to packet installation

I would like to change my installation form manual to packet installation. Can I just backup, uninstall the manual installation, install the packet installation and restore my files. Does it work properly?